mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 06:58:39 +03:00
Scanlist now 1, 2 or all channels
This commit is contained in:
@ -186,7 +186,7 @@ void ACTION_Scan(bool bRestart)
|
||||
{
|
||||
#if 1
|
||||
// keep scanning but toggle between scan lists
|
||||
gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u;
|
||||
gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) % 3;
|
||||
gUpdateStatus = true;
|
||||
#else
|
||||
SCANNER_Stop();
|
||||
@ -217,7 +217,7 @@ void ACTION_Scan(bool bRestart)
|
||||
else
|
||||
if (!bRestart)
|
||||
{ // keep scanning but toggle between scan lists
|
||||
gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u;
|
||||
gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) % 3;
|
||||
gUpdateStatus = true;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user