Allow skipping keypad lock when only hash key is pressed

pull/227/head
marco 2023-12-30 13:45:40 +01:00 zatwierdzone przez Silvano Seva
rodzic 4ed9262a96
commit 4a45ce0c16
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1430,7 +1430,7 @@ void ui_updateFSM(bool *sync_rtx)
// Break out of the FSM if the keypad is locked but allow the
// use of the hash key in FM mode for the 1750Hz tone.
bool skipLock = (state.channel.mode == OPMODE_FM)
&& ((msg.keys & KEY_HASH) != 0);
&& (msg.keys == KEY_HASH);
if ((ui_state.input_locked == true) && (skipLock == false))
break;