Fixed bug when resuming scan if scan action is used
This commit is contained in:
@@ -229,6 +229,10 @@ void ACTION_Scan(bool bRestart)
|
|||||||
gScanPauseDelayIn_10ms = 1;
|
gScanPauseDelayIn_10ms = 1;
|
||||||
gScheduleScanListen = false;
|
gScheduleScanListen = false;
|
||||||
} else {
|
} else {
|
||||||
|
#ifdef ENABLE_FEAT_F4HWN_RESTORE_SCAN
|
||||||
|
gEeprom.CURRENT_STATE = 1;
|
||||||
|
SETTINGS_WriteCurrentState();
|
||||||
|
#endif
|
||||||
// start scanning
|
// start scanning
|
||||||
CHFRSCANNER_Start(true, SCAN_FWD);
|
CHFRSCANNER_Start(true, SCAN_FWD);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user