summaryrefslogtreecommitdiff
path: root/shared-bindings/microcontroller/Pin.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/microcontroller/Pin.h')
-rw-r--r--shared-bindings/microcontroller/Pin.h4
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;