Add RESTORE_SCAN feature

This commit is contained in:
Armel FAUVEAU
2024-10-28 02:03:52 +01:00
parent c94ea17943
commit 08cce22968
7 changed files with 108 additions and 3 deletions

View File

@@ -196,6 +196,11 @@ void CHFRSCANNER_Stop(void)
}
}
#ifdef ENABLE_FEAT_F4HWN_RESTORE_SCAN
gEeprom.CURRENT_STATE = 0;
SETTINGS_WriteCurrentState();
#endif
RADIO_SetupRegisters(true);
gUpdateDisplay = true;
}