Skip to content

Commit

Permalink
Fix issue #117
Browse files Browse the repository at this point in the history
  • Loading branch information
armel committed Jul 8, 2024
1 parent f741195 commit 1e50334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,7 @@ static void ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
}

if (gRequestSaveChannel > 0) { // TODO: remove the gRequestSaveChannel, why use global variable for that??
if (!bKeyHeld) {
if (!bKeyHeld && !bKeyPressed) {
SETTINGS_SaveChannel(gTxVfo->CHANNEL_SAVE, gEeprom.TX_VFO, gTxVfo, gRequestSaveChannel);

if (!SCANNER_IsScanning() && gVfoConfigureMode == VFO_CONFIGURE_NONE)
Expand Down

0 comments on commit 1e50334

Please sign in to comment.