0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-04-28 14:21:25 +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 (gScanState != SCAN_OFF)
{ {
#if 1 #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; gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u;
gUpdateStatus = true; gUpdateStatus = true;
#else #else
@ -216,9 +216,7 @@ void ACTION_Scan(bool bRestart)
} }
else else
if (!bRestart) if (!bRestart)
{ // scanning { // keep scanning but toggle between scan lists
// swap scan lists
gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u; gEeprom.SCAN_LIST_DEFAULT = (gEeprom.SCAN_LIST_DEFAULT + 1) & 1u;
gUpdateStatus = true; gUpdateStatus = true;
} }

View File

@ -284,11 +284,11 @@ const uint8_t BITMAP_TDR2[12] =
const uint8_t BITMAP_SC1[8] = const uint8_t BITMAP_SC1[8] =
{ // "I" { // "I"
0b01000001,
0b01000001, 0b01000001,
0b01000001, 0b01000001,
0b01111111, 0b01111111,
0b01000001, 0b01111111,
0b01111111,
0b01000001, 0b01000001,
0b01000001, 0b01000001,
0b00000000 0b00000000
@ -297,11 +297,11 @@ const uint8_t BITMAP_SC1[8] =
const uint8_t BITMAP_SC2[8] = const uint8_t BITMAP_SC2[8] =
{ // "II" { // "II"
0b01000001, 0b01000001,
0b01000001, 0b01111111,
0b01111111, 0b01111111,
0b01000001, 0b01000001,
0b01111111, 0b01111111,
0b01000001, 0b01111111,
0b01000001, 0b01000001,
0b00000000 0b00000000
}; };

Binary file not shown.

Binary file not shown.