Check if data can latch immediately

Prior to this change, code would wait for an additional byte before
latching.
This commit is contained in:
David Madison 2017-03-27 19:37:49 -04:00
parent eba7bdb73e
commit 84fef87d35
1 changed files with 1 additions and 1 deletions

View File

@ -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();