mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-11-27 18:20:28 -05:00
Updated NeoPixel handling
This commit is contained in:
parent
b3b7425c0a
commit
a99c78a68c
3 changed files with 57 additions and 42 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue