Skip to content

Commit

Permalink
Modify scanlist symbol on status bar (SL-1 / SL-2)
Browse files Browse the repository at this point in the history
  • Loading branch information
OneOfEleven committed Oct 4, 2023
1 parent efca160 commit 6a8c7d5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions app/action.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
Expand Down
8 changes: 4 additions & 4 deletions bitmaps.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,24 +284,24 @@ const uint8_t BITMAP_TDR2[12] =

const uint8_t BITMAP_SC1[8] =
{ // "I"
0b01000001,
0b01000001,
0b01000001,
0b01111111,
0b01000001,
0b01111111,
0b01111111,
0b01000001,
0b01000001,
0b00000000
};

const uint8_t BITMAP_SC2[8] =
{ // "II"
0b01000001,
0b01000001,
0b01111111,
0b01000001,
0b01111111,
0b01000001,
0b01111111,
0b01111111,
0b01000001,
0b00000000
};
Expand Down
Binary file modified firmware.bin
Binary file not shown.
Binary file modified firmware.packed.bin
Binary file not shown.

0 comments on commit 6a8c7d5

Please sign in to comment.