UI: ch on button handling fixed (polarity)

master
unicod 3 years ago
parent 688e1e844e
commit 7c7560c839

@ -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<ELEMCNT(AirFaders); i++) {

Loading…
Cancel
Save