mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
Modify scanlist symbol on status bar (SL-1 / SL-2)
This commit is contained in:
@ -185,7 +185,7 @@ void ACTION_Scan(bool bRestart)
|
||||
if (gScanState != SCAN_OFF)
|
||||
{
|
||||
#if 1
|
||||
// keep scanning but swap scan lists
|
||||
// keep scanning but toggle between scan lists
|
||||
gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u;
|
||||
gUpdateStatus = true;
|
||||
#else
|
||||
@ -216,9 +216,7 @@ void ACTION_Scan(bool bRestart)
|
||||
}
|
||||
else
|
||||
if (!bRestart)
|
||||
{ // scanning
|
||||
|
||||
// swap scan lists
|
||||
{ // keep scanning but toggle between scan lists
|
||||
gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u;
|
||||
gUpdateStatus = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user