Displaying VFO_Lock on the second channel while receiving on the first; Code refactoring (42 B)

This commit is contained in:
mrkusypl committed 2026-05-04 12:38:43 +02:00
1 parent c1d5b7bd55
commit c0c1d9881c
4 files changed
+7 -13

No files matched your search

-1
View File
@@ -239,7 +239,6 @@ void ACTION_Scan(bool bRestart)
// channel mode. Keep scanning but toggle between scan lists
RADIO_NextValidList(1);
UI_MAIN_NotifyScanProgressDataChanged();
gUpdateStatus = true;
#ifdef ENABLE_FEAT_F4HWN_RESUME_STATE
SETTINGS_WriteCurrentState();
-1
View File
@@ -646,7 +646,6 @@ void CHFRSCANNER_Start(const bool storeBackupSettings, const int8_t scan_directi
if(!RADIO_CheckValidList(gEeprom.SCAN_LIST_DEFAULT)) {
RADIO_NextValidList(1);
UI_MAIN_NotifyScanProgressDataChanged();
gUpdateStatus = true;
}
// channel mode
-3
View File
@@ -301,7 +301,6 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep)
if (gScanStateDir != SCAN_OFF) {
RADIO_NextValidList(isKeyUp ? 1 : -1);
UI_MAIN_NotifyScanProgressDataChanged();
gUpdateStatus = true;
} else {
// Adjust squelch: UP increments, DOWN decrements
if (gSquelchLevelOriginal == 10)
@@ -485,7 +484,6 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
{
gEeprom.SCAN_LIST_DEFAULT = MR_CHANNELS_LIST + 1;
UI_MAIN_NotifyScanProgressDataChanged();
gUpdateStatus = true;
#ifdef ENABLE_FEAT_F4HWN_RESUME_STATE
SETTINGS_WriteCurrentState();
#endif
@@ -505,7 +503,6 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
RADIO_NextValidList(1);
}
UI_MAIN_NotifyScanProgressDataChanged();
gUpdateStatus = true;
#ifdef ENABLE_FEAT_F4HWN_RESUME_STATE
SETTINGS_WriteCurrentState();