From 3c643208ff6ecdd6313d1ce72f25f597a9c1470b Mon Sep 17 00:00:00 2001 From: Krzysiek Egzmont Date: Mon, 27 Nov 2023 13:42:47 +0100 Subject: [PATCH] FIX #152: Zero digit being entered when exiting FM radio with F+0 --- app/fm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/fm.c b/app/fm.c index fa707bb..3a1d58d 100644 --- a/app/fm.c +++ b/app/fm.c @@ -227,7 +227,7 @@ static void FM_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) { enum { STATE_FREQ_MODE, STATE_MR_MODE, STATE_SAVE }; - if (!bKeyHeld && bKeyPressed) { + if (!bKeyHeld && !bKeyPressed) { if (!gWasFKeyPressed) { uint8_t State;