diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-07-23 14:39:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-23 14:39:21 -0700 |
| commit | 060ab8a1f030730b1b7d7fc000143c908ab844e1 (patch) | |
| tree | 553077dbd3bcad8af80cedd35e255fe93d747b51 /shared-bindings/microcontroller | |
| parent | 6a46fd5b91d92609cf33eb93f1c4e24632451d25 (diff) | |
| parent | f43834aba2ed9f8f69d961a6554bc81ecaa98f08 (diff) | |
Merge pull request #3194 from tannewt/gcc10
Prep for GCC10
Diffstat (limited to 'shared-bindings/microcontroller')
| -rw-r--r-- | shared-bindings/microcontroller/Processor.h | 2 | ||||
| -rw-r--r-- | shared-bindings/microcontroller/RunMode.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/microcontroller/Processor.h b/shared-bindings/microcontroller/Processor.h index 1088112f4..0f520f940 100644 --- a/shared-bindings/microcontroller/Processor.h +++ b/shared-bindings/microcontroller/Processor.h @@ -31,7 +31,7 @@ #include "common-hal/microcontroller/Processor.h" -const mp_obj_type_t mcu_processor_type; +extern const mp_obj_type_t mcu_processor_type; uint32_t common_hal_mcu_processor_get_frequency(void); float common_hal_mcu_processor_get_temperature(void); diff --git a/shared-bindings/microcontroller/RunMode.h b/shared-bindings/microcontroller/RunMode.h index 5e8b6e646..ce90ab93a 100644 --- a/shared-bindings/microcontroller/RunMode.h +++ b/shared-bindings/microcontroller/RunMode.h @@ -35,7 +35,7 @@ typedef enum { RUNMODE_BOOTLOADER } mcu_runmode_t; -const mp_obj_type_t mcu_runmode_type; +extern const mp_obj_type_t mcu_runmode_type; typedef struct { mp_obj_base_t base; |
