Toggle scankists update

This commit is contained in:
OneOfEleven 2023-10-04 19:01:00 +01:00
parent a113d41c1a
commit 814e5edb07
3 changed files with 9 additions and 3 deletions

View File

@ -184,11 +184,17 @@ void ACTION_Scan(bool bRestart)
if (gScanState != SCAN_OFF)
{
#if 1
// keep scanning but swap scan lists
gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u;
gUpdateStatus = true;
#else
SCANNER_Stop();
#ifdef ENABLE_VOICE
gAnotherVoiceID = VOICE_ID_SCANNING_STOP;
#endif
#endif
}
else
{

Binary file not shown.

Binary file not shown.