0
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:
OneOfEleven
2023-09-11 12:09:05 +01:00
parent 0eac645cec
commit f975796191
7 changed files with 8 additions and 4 deletions

View File

@ -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();

View File

@ -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;
}