nrf: make neopixel support optional

Add a conditional around the call to neopixel_write(), allowing us
to build for nrf without neopixel support.

Signed-off-by: Sean Cross <sean@xobs.io>
simmel
Sean Cross 2 years ago
parent 05b5356acc
commit ac9d336f40
  1. 3
      ports/nrf/supervisor/port.c

@ -104,7 +104,10 @@ void reset_port(void) {
i2c_reset();
spi_reset();
uart_reset();
#if CIRCUITPY_NEOPIXEL_WRITE
neopixel_write_reset();
#endif
#if CIRCUITPY_AUDIOBUSIO
i2s_reset();

Loading…
Cancel
Save