Improve KeyLck (0 to 10min)

This commit is contained in:
Armel FAUVEAU
2024-10-09 01:29:13 +02:00
parent 5478cc05ac
commit 31c17fa2ac
5 changed files with 12 additions and 6 deletions

View File

@@ -1834,7 +1834,7 @@ static void ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
gBatterySaveCountdown_10ms = battery_save_count_10ms;
if (gEeprom.AUTO_KEYPAD_LOCK)
gKeyLockCountdown = 30; // 15 seconds
gKeyLockCountdown = gEeprom.AUTO_KEYPAD_LOCK * 30; // 15 seconds step
if (!bKeyPressed) { // key released
if (flagSaveVfo) {