Skip to content

Commit

Permalink
Bring back the old style menu.
Browse files Browse the repository at this point in the history
It can now be enabled by setting BITMAP_CurrentIndicator=1
  • Loading branch information
JuantAldea committed Dec 25, 2023
1 parent e187199 commit 733de49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ENABLE_REDUCE_LOW_MID_TX_POWER?= 0
ENABLE_BYP_RAW_DEMODULATORS ?= 0
ENABLE_BLMIN_TMP_OFF ?= 0
ENABLE_SCAN_RANGES ?= 1
ENABLE_ORIGINAL_MENU_LAYOUT ?= 0

# ---- DEBUGGING ----
ENABLE_AM_FIX_SHOW_DATA ?= 0
Expand Down
5 changes: 5 additions & 0 deletions bitmaps.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,9 @@ extern const uint8_t BITMAP_ScanList1[6];
extern const uint8_t BITMAP_ScanList2[6];

extern const uint8_t BITMAP_compand[6];

#if ENABLE_ORIGINAL_MENU_LAYOUT
extern const uint8_t BITMAP_CurrentIndicator[8];
#endif

#endif
2 changes: 1 addition & 1 deletion ui/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ void UI_DisplayMenu(void)

UI_DisplayClear();

#if 0
#ifdef ENABLE_ORIGINAL_MENU_LAYOUT
// original menu layout

for (i = 0; i < 3; i++)
Expand Down

0 comments on commit 733de49

Please sign in to comment.