FIX #152: Zero digit being entered when exiting FM radio with F+0

This commit is contained in:
Krzysiek Egzmont 2023-11-27 13:42:47 +01:00
parent dc47842892
commit 3c643208ff

View File

@ -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;