Check if data can latch immediately
Prior to this change, code would wait for an additional byte before latching.
This commit is contained in:
parent
eba7bdb73e
commit
84fef87d35
|
@ -161,7 +161,7 @@ void adalight(){
|
|||
}
|
||||
bytesRemaining--;
|
||||
}
|
||||
else {
|
||||
if(bytesRemaining == 0) {
|
||||
// End of data -- issue latch:
|
||||
mode = MODE_HEADER; // Begin next header search
|
||||
FastLED.show();
|
||||
|
|
Loading…
Reference in New Issue