We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70cbb4e commit e7fe0d9Copy full SHA for e7fe0d9
supervisor/shared/status_leds.c
@@ -39,8 +39,13 @@ static digitalio_digitalinout_obj_t _status_power;
39
40
#ifdef MICROPY_HW_NEOPIXEL
41
uint8_t rgb_status_brightness = 63;
42
- #include "shared-bindings/digitalio/DigitalInOut.h"
43
- #include "shared-bindings/neopixel_write/__init__.h"
+#include "shared-bindings/digitalio/DigitalInOut.h"
+#include "shared-bindings/neopixel_write/__init__.h"
44
+
45
+#ifndef MICROPY_HW_NEOPIXEL_COUNT
46
+#define MICROPY_HW_NEOPIXEL_COUNT (1)
47
+#endif
48
49
static uint8_t status_neopixel_color[3 * MICROPY_HW_NEOPIXEL_COUNT];
50
static digitalio_digitalinout_obj_t status_neopixel;
51
0 commit comments