0
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:
OneOfEleven
2023-10-04 19:11:19 +01:00
parent efca16088b
commit 6a8c7d5b37
4 changed files with 6 additions and 8 deletions

View File

@ -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;
}