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--;
|
bytesRemaining--;
|
||||||
}
|
}
|
||||||
else {
|
if(bytesRemaining == 0) {
|
||||||
// End of data -- issue latch:
|
// End of data -- issue latch:
|
||||||
mode = MODE_HEADER; // Begin next header search
|
mode = MODE_HEADER; // Begin next header search
|
||||||
FastLED.show();
|
FastLED.show();
|
||||||
|
|
Loading…
Reference in New Issue