Fix update(): remove old sysex_flash_active logic

This commit is contained in:
2026-06-26 00:07:50 +00:00
parent 268b793d87
commit 17c630f850
+1 -8
View File
@@ -288,16 +288,9 @@ void DefaultLedStub::update() {
uint32_t now = millis();
// Turn off activity/SysEx flash
// Turn off activity flash
if (activity_off_time > 0 && now >= activity_off_time) {
if (sysex_flash_active) {
for (int i = 0; i < NUM_LEDS; i++) {
mux_ptr->set_led_color(i, sysex_saved_r[i], sysex_saved_g[i], sysex_saved_b[i]);
}
sysex_flash_active = false;
} else {
mux_ptr->set_led_color(0, saved_r, saved_g, saved_b);
}
mux_ptr->show();
activity_off_time = 0;
}