mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 22:58:04 +03:00
Menu SIDE_BUTT can be disabled to save 300 bytes.
This is a very rough version as I just did some search and replace.
This commit is contained in:
@ -120,10 +120,12 @@ enum
|
||||
MENU_VOICE,
|
||||
#endif
|
||||
MENU_AUTO_KEY_LOCK,
|
||||
#ifdef ENABLE_SIDE_BUTT_MENU
|
||||
MENU_SIDE1_SHORT,
|
||||
MENU_SIDE1_LONG,
|
||||
MENU_SIDE2_SHORT,
|
||||
MENU_SIDE2_LONG,
|
||||
#endif
|
||||
MENU_VERSION,
|
||||
MENU_RESET,
|
||||
|
||||
@ -133,7 +135,7 @@ enum
|
||||
// items after here are normally hidden
|
||||
|
||||
MENU_BAT_CAL, // battery voltage calibration
|
||||
|
||||
|
||||
#ifdef ENABLE_F_CAL_MENU
|
||||
MENU_F_CALI, // 26MHz reference xtal calibration
|
||||
#endif
|
||||
@ -183,7 +185,9 @@ extern const char g_sub_menu_rx_tx[4][6];
|
||||
extern const char g_sub_menu_BAT_TXT[3][8];
|
||||
extern const char g_sub_menu_DIS_EN[2][9];
|
||||
extern const char g_sub_MENU_SCRAMBLERAMBLER[11][7];
|
||||
extern const char g_sub_menu_SIDE_BUTT[9][16];
|
||||
#ifdef ENABLE_SIDE_BUTT_MENU
|
||||
extern const char g_sub_menu_SIDE_BUTT[9][16];
|
||||
#endif
|
||||
|
||||
extern bool g_is_in_sub_menu;
|
||||
|
||||
|
Reference in New Issue
Block a user