diff options
| author | Hierophect <hierophect@gmail.com> | 2019-11-15 13:00:11 -0500 |
|---|---|---|
| committer | Hierophect <hierophect@gmail.com> | 2019-11-15 13:00:11 -0500 |
| commit | 5f290d091e1889351dfeaec636beaaf63985c246 (patch) | |
| tree | 67e80d286342b367d0dd8433ede0a786286a1cef /shared-bindings/microcontroller/Pin.h | |
| parent | 8a58af3e96c7650e33cb0c15d79f025491502e09 (diff) | |
| parent | 2c6781f74d0c8b53c0bdcd7f0b954ac831167937 (diff) | |
Merge branch 'pin-commonhal-additions' into stm32-neopixel
Diffstat (limited to 'shared-bindings/microcontroller/Pin.h')
| -rw-r--r-- | shared-bindings/microcontroller/Pin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-bindings/microcontroller/Pin.h b/shared-bindings/microcontroller/Pin.h index 2d15dd5c5..8762e4412 100644 --- a/shared-bindings/microcontroller/Pin.h +++ b/shared-bindings/microcontroller/Pin.h @@ -30,6 +30,10 @@ #include "common-hal/microcontroller/Pin.h" #include "py/obj.h" +#ifdef MICROPY_HW_NEOPIXEL +extern bool neopixel_in_use; +#endif + // Type object used in Python. Should be shared between ports. extern const mp_obj_type_t mcu_pin_type; |
