Slightly reduce the number of color change cycles. By doing so, fit the for loop into an 8 bit int, saving us 6 bytes compiled

pull/988/head
Jesse Vincent 4 years ago
parent d2e9a113fb
commit e066c388c8
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -66,7 +66,7 @@ void HardwareTestMode::testLeds(void) {
// rainbow for 10 seconds
::LEDRainbowEffect.update_delay(5);
for (auto i = 0; i < 300; i++) {
for (uint8_t i = 0; i < 254; i++) {
::LEDControl.update();
::LEDControl.syncLeds();
}

Loading…
Cancel
Save