diff --git a/ui.cpp b/ui.cpp index 6994132..9e647a8 100644 --- a/ui.cpp +++ b/ui.cpp @@ -175,7 +175,7 @@ void UiSt_Home(UI_SM* const me, uint16_t event) { uint16_t t_off = 50; if (mute.MuteLocal) { t_on = 50; t_off = 950; } mute.Led->Blink(t_on, t_off); - MIDI.sendControlChange(mute.MidiCtrlNr, mute.MuteLocal ? 0 : 127, 2); + MIDI.sendControlChange(mute.MidiCtrlNr, mute.MuteLocal ? 127 : 0, 2); } } for (uint_fast8_t i=0; i