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

First test

This commit is contained in:
OneOfEleven
2023-09-21 23:06:47 +01:00
parent 4a0a5a9589
commit fb85c14037
22 changed files with 422 additions and 400 deletions

View File

@ -130,9 +130,8 @@ void FUNCTION_Select(FUNCTION_Type_t Function)
break;
case FUNCTION_POWER_SAVE:
gBatterySave_10ms = gEeprom.BATTERY_SAVE * 10;
gBatterySaveCountdownExpired = false;
gPowerSave_10ms = gEeprom.BATTERY_SAVE * 10;
gPowerSaveCountdownExpired = false;
gRxIdleMode = true;
@ -199,7 +198,7 @@ void FUNCTION_Select(FUNCTION_Type_t Function)
}
gBatterySaveCountdown_10ms = battery_save_count_10ms;
gSchedulePowerSave = false;
gSchedulePowerSave = false;
#if defined(ENABLE_FMRADIO)
gFM_RestoreCountdown = 0;