Set mode variable as static
Chasing what I believe is a memory allocation issue, related to large numbers of LEDs (#9)
This commit is contained in:
parent
79c514bd59
commit
c24abb7393
|
@ -87,8 +87,9 @@ void setup(){
|
|||
}
|
||||
|
||||
void adalight(){
|
||||
static uint8_t
|
||||
mode = MODE_HEADER;
|
||||
uint8_t
|
||||
mode = MODE_HEADER,
|
||||
headPos,
|
||||
hi, lo, chk;
|
||||
int16_t
|
||||
|
|
Loading…
Reference in New Issue