8000 Fix DotStar status LED init. · rbrian/circuitpython@612ba2f · GitHub
[go: up one dir, main page]

Skip to content

Commit 612ba2f

Browse files
committed
Fix DotStar status LED init.
1 parent c8d9edd commit 612ba2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

supervisor/shared/rgb_led_status.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void rgb_led_status_init() {
115115
shared_module_bitbangio_spi_construct(&status_apa102,
116116
MICROPY_HW_APA102_SCK,
117117
MICROPY_HW_APA102_MOSI,
118-
mp_const_none);
118+
NULL);
119119
#else
120120
if (!common_hal_busio_spi_deinited(&status_apa102)) {
121121
// This may call us recursively if common_hal_reset_pin() is called,
@@ -125,7 +125,7 @@ void rgb_led_status_init() {
125125
common_hal_busio_spi_construct(&status_apa102,
126126
MICROPY_HW_APA102_SCK,
127127
MICROPY_HW_APA102_MOSI,
128-
mp_const_none);
128+
NULL);
129129
common_hal_busio_spi_never_reset(&status_apa102);
130130
#endif
131131
// Pretend we aren't using the pins. bitbangio.SPI will

0 commit comments

Comments
 (0)
0