summaryrefslogtreecommitdiff
path: root/ports/stm32f4/common-hal/microcontroller/Pin.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32f4/common-hal/microcontroller/Pin.h')
-rw-r--r--ports/stm32f4/common-hal/microcontroller/Pin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/stm32f4/common-hal/microcontroller/Pin.h b/ports/stm32f4/common-hal/microcontroller/Pin.h
index 0c3fb375f..c42b0801f 100644
--- a/ports/stm32f4/common-hal/microcontroller/Pin.h
+++ b/ports/stm32f4/common-hal/microcontroller/Pin.h
@@ -31,6 +31,10 @@
#include "peripherals/stm32f4/pins.h"
+#ifdef MICROPY_HW_NEOPIXEL
+extern bool neopixel_in_use;
+#endif
+
void reset_all_pins(void);
// reset_pin_number takes the pin number instead of the pointer so that objects don't
// need to store a full pointer.