mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +00:00
Toggle scankists update
This commit is contained in:
1 parent
a113d41c1a
commit
814e5edb07
3 files changed
+9
-3
No files matched your search
+9
-3
@@ -184,10 +184,16 @@ void ACTION_Scan(bool bRestart)
|
||||
|
||||
if (gScanState != SCAN_OFF)
|
||||
{
|
||||
SCANNER_Stop();
|
||||
#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;
|
||||
#ifdef ENABLE_VOICE
|
||||
gAnotherVoiceID = VOICE_ID_SCANNING_STOP;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user