diff --git a/app/main.c b/app/main.c index cee7b1d..2fd41e9 100644 --- a/app/main.c +++ b/app/main.c @@ -220,10 +220,10 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) if (bKeyPressed) { if (gScreenToDisplay == DISPLAY_MAIN) - { // we're going to go straight to the function key function - // without the F-key being first pressed + { // we're going to go straight to the 0-9 key function + // without the F-key first being pressed if (gInputBoxIndex > 0) - { // delete last char inputted + { // delete any inputted chars gInputBoxIndex = 0; gRequestDisplayScreen = DISPLAY_MAIN; } @@ -236,12 +236,13 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) return; } - - if (!bKeyPressed) - return; - + gBeepToPlay = BEEP_1KHZ_60MS_OPTIONAL; +// if (!bKeyPressed) + if (bKeyPressed) // wait till the key is released + return; + if (!gWasFKeyPressed) { uint8_t Vfo = gEeprom.TX_CHANNEL; diff --git a/firmware b/firmware index 2ca89fd..cfac6f1 100644 Binary files a/firmware and b/firmware differ diff --git a/firmware.bin b/firmware.bin index 446b70e..250ebe6 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index d8f0163..29b63af 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ