0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-21 07:28:37 +03:00

Backlight TX/RX menu update

This commit is contained in:
OneOfEleven
2023-10-04 16:37:11 +01:00
parent 567b0cfa83
commit 429ac36ffe
18 changed files with 71 additions and 112 deletions

View File

@ -486,7 +486,7 @@ void APP_StartListening(FUNCTION_Type_t Function, const bool reset_am_fix)
gEnableSpeaker = true;
if (gSetting_backlight_on_tx_rx)
if (gSetting_backlight_on_tx_rx >= 2)
BACKLIGHT_TurnOn();
if (gScanState != SCAN_OFF)
@ -2104,7 +2104,8 @@ static void APP_ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
}
else
{
BACKLIGHT_TurnOn();
if (Key != KEY_PTT)
BACKLIGHT_TurnOn();
if (Key == KEY_EXIT && bKeyHeld)
{ // exit key held pressed