Fix MidiEvent::SYSTEM -> SYSEX
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ void AppTask::update() {
|
||||
|
||||
void AppTask::process_midi_event(const MidiEvent& event) {
|
||||
// Visual indicator: blink LED 0 on ANY MIDI receive
|
||||
if (led_driver && event.type != MidiEvent::SYSTEM) {
|
||||
if (led_driver && event.type != MidiEvent::SYSEX) {
|
||||
static uint32_t last_blink = 0;
|
||||
uint32_t now = millis();
|
||||
if (now - last_blink > 100) {
|
||||
|
||||
Reference in New Issue
Block a user