diff options
| author | Dan Halbert <halbert@adafruit.com> | 2021-02-01 12:50:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-01 12:50:37 -0500 |
| commit | 459f3232477877b6dbc011f93ebc9d3544d918c3 (patch) | |
| tree | cc9d1e43b91725bdb2fea8ddde5e0330f6acffc4 /shared-bindings/microcontroller/__init__.h | |
| parent | 0c0b517112100c1ec90ed66fba8bc315bc5440d0 (diff) | |
| parent | e1838ff335f2daef9ad2389b7231b73da43057eb (diff) | |
Merge pull request #4087 from DavePutz/cpu_temp_doc
Fixing microcontroller.cpu on multi-core cpus and adding microcontroller.cpus
Diffstat (limited to 'shared-bindings/microcontroller/__init__.h')
| -rw-r--r-- | shared-bindings/microcontroller/__init__.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-bindings/microcontroller/__init__.h b/shared-bindings/microcontroller/__init__.h index 39d3e718b..733127d56 100644 --- a/shared-bindings/microcontroller/__init__.h +++ b/shared-bindings/microcontroller/__init__.h @@ -48,7 +48,8 @@ extern const mp_obj_dict_t mcu_pin_globals; #if CIRCUITPY_PROCESSOR_COUNT == 1 extern const mcu_processor_obj_t common_hal_mcu_processor_obj; #elif CIRCUITPY_PROCESSOR_COUNT > 1 -extern const mp_rom_obj_tuple_t common_hal_mcu_processor_obj; +extern const mcu_processor_obj_t common_hal_mcu_processor_obj; +extern const mp_rom_obj_tuple_t common_hal_multi_processor_obj; #else #error "Invalid processor count" #endif |
