Fixed bug when resuming scan if scan action is used

This commit is contained in:
Armel FAUVEAU
2024-11-07 02:26:23 +01:00
parent 40fb647837
commit 4a892d867a

View File

@@ -229,6 +229,10 @@ void ACTION_Scan(bool bRestart)
gScanPauseDelayIn_10ms = 1;
gScheduleScanListen = false;
} else {
#ifdef ENABLE_FEAT_F4HWN_RESTORE_SCAN
gEeprom.CURRENT_STATE = 1;
SETTINGS_WriteCurrentState();
#endif
// start scanning
CHFRSCANNER_Start(true, SCAN_FWD);