mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-17 05:42:15 -04: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