Fix compilation: declare 'now' in flash_sysex

This commit is contained in:
2026-06-25 07:54:35 +00:00
parent 1676bbb044
commit dee60c7d27
+2
View File
@@ -286,6 +286,8 @@ void DefaultLedStub::flash_activity() {
void DefaultLedStub::flash_sysex() { void DefaultLedStub::flash_sysex() {
if (!initialized || !mux_ptr) return; if (!initialized || !mux_ptr) return;
uint32_t now = millis();
// Save all LED states // Save all LED states
for (int i = 0; i < NUM_LEDS; i++) { for (int i = 0; i < NUM_LEDS; i++) {
if (led_states[i].active) { if (led_states[i].active) {