Skip to content

Commit

Permalink
FIX #152: Zero digit being entered when exiting FM radio with F+0
Browse files Browse the repository at this point in the history
  • Loading branch information
egzumer committed Nov 27, 2023
1 parent dc47842 commit 3c64320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/fm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3c64320

Please sign in to comment.