mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
Menu timeout to 30 seconds
This commit is contained in:
@ -1589,7 +1589,7 @@ static void APP_ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
||||
else
|
||||
{
|
||||
if (Key != KEY_PTT)
|
||||
gVoltageMenuCountdown = 2 * 30; // 30 sec
|
||||
gVoltageMenuCountdown = g_menu_timeout;
|
||||
|
||||
BACKLIGHT_TurnOn();
|
||||
|
||||
|
@ -1322,5 +1322,5 @@ void MENU_ProcessKeys(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
||||
}
|
||||
|
||||
if (gScreenToDisplay == DISPLAY_MENU && gMenuCursor == MENU_VOL)
|
||||
gVoltageMenuCountdown = 2 * 30; // 30 sec
|
||||
gVoltageMenuCountdown = g_menu_timeout;
|
||||
}
|
||||
|
Reference in New Issue
Block a user