From 4a45ce0c16887ca6b28fbc6e09eba4c6c511855f Mon Sep 17 00:00:00 2001 From: marco <49691247+marcoSchr@users.noreply.github.com> Date: Sat, 30 Dec 2023 13:45:40 +0100 Subject: [PATCH] Allow skipping keypad lock when only hash key is pressed --- openrtx/src/ui/default/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrtx/src/ui/default/ui.c b/openrtx/src/ui/default/ui.c index 8e06c252..271ea7af 100644 --- a/openrtx/src/ui/default/ui.c +++ b/openrtx/src/ui/default/ui.c @@ -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;