Updated NeoPixel handling

This commit is contained in:
Mark Qvist 2022-12-04 20:00:21 +01:00
parent b3b7425c0a
commit a99c78a68c
3 changed files with 57 additions and 42 deletions

View file

@ -48,8 +48,10 @@ void setup() {
serial_interrupt_init();
// Configure input and output pins
pinMode(pin_led_rx, OUTPUT);
pinMode(pin_led_tx, OUTPUT);
#if HAS_NP == false
pinMode(pin_led_rx, OUTPUT);
pinMode(pin_led_tx, OUTPUT);
#endif
// Initialise buffers
memset(pbuf, 0, sizeof(pbuf));