0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 22:58:04 +03:00

Keylock can be disabled to save 400 bytes.

This commit is contained in:
cloudwindy
2023-10-20 21:40:17 +08:00
parent 989f8cb56e
commit a81ecadfe1
19 changed files with 113 additions and 41 deletions

View File

@ -119,7 +119,9 @@ enum
#ifdef ENABLE_VOICE
MENU_VOICE,
#endif
#ifdef ENABLE_KEYLOCK
MENU_AUTO_KEY_LOCK,
#endif
#ifdef ENABLE_SIDE_BUTT_MENU
MENU_SIDE1_SHORT,
MENU_SIDE1_LONG,
@ -134,19 +136,19 @@ enum
// ************************************
// items after here are normally hidden
MENU_BAT_CAL, // battery voltage calibration
MENU_BAT_CAL, // battery voltage calibration
#ifdef ENABLE_F_CAL_MENU
MENU_F_CALI, // 26MHz reference xtal calibration
MENU_F_CALI, // 26MHz reference xtal calibration
#endif
MENU_SCRAMBLER_EN, // scrambler enable/disable
MENU_FREQ_LOCK, // lock to a selected region
MENU_350_EN, // 350~400MHz enable/disable
MENU_174_TX, // 174~350MHz TX enable/disable
MENU_350_TX, // 350~400MHz TX enable/disable
MENU_470_TX, // 470MHz and up TX enable/disable
MENU_TX_EN, // disable the TX entirely
MENU_FREQ_LOCK, // lock to a selected region
MENU_350_EN, // 350~400MHz enable/disable
MENU_174_TX, // 174~350MHz TX enable/disable
MENU_350_TX, // 350~400MHz TX enable/disable
MENU_470_TX, // 470MHz and up TX enable/disable
MENU_TX_EN, // disable the TX entirely
// ************************************
// ************************************