summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-03-17 12:10:12 -0700
committerScott Shawcroft <scott@tannewt.org>2020-03-17 12:11:11 -0700
commit612ba2f45d07470712c23d603c8d98571a1629b1 (patch)
treeb0ef5d05e1b279dba6b8fa69ce62196c67840ac4 /supervisor
parentc8d9edd939010954aebc2e63c9aeed4e154a4dd4 (diff)
Fix DotStar status LED init.
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/shared/rgb_led_status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/supervisor/shared/rgb_led_status.c b/supervisor/shared/rgb_led_status.c
index f751a7ffd..f3c210647 100644
--- a/supervisor/shared/rgb_led_status.c
+++ b/supervisor/shared/rgb_led_status.c
@@ -115,7 +115,7 @@ void rgb_led_status_init() {
shared_module_bitbangio_spi_construct(&status_apa102,
MICROPY_HW_APA102_SCK,
MICROPY_HW_APA102_MOSI,
- mp_const_none);
+ NULL);
#else
if (!common_hal_busio_spi_deinited(&status_apa102)) {
// This may call us recursively if common_hal_reset_pin() is called,
@@ -125,7 +125,7 @@ void rgb_led_status_init() {
common_hal_busio_spi_construct(&status_apa102,
MICROPY_HW_APA102_SCK,
MICROPY_HW_APA102_MOSI,
- mp_const_none);
+ NULL);
common_hal_busio_spi_never_reset(&status_apa102);
#endif
// Pretend we aren't using the pins. bitbangio.SPI will