Fix compilation: declare 'now' in flash_sysex
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user