FIX #152: Zero digit being entered when exiting FM radio with F+0
This commit is contained in:
2
app/fm.c
2
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 };
|
enum { STATE_FREQ_MODE, STATE_MR_MODE, STATE_SAVE };
|
||||||
|
|
||||||
if (!bKeyHeld && bKeyPressed) {
|
if (!bKeyHeld && !bKeyPressed) {
|
||||||
if (!gWasFKeyPressed) {
|
if (!gWasFKeyPressed) {
|
||||||
uint8_t State;
|
uint8_t State;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user