Index Deep Sleep BK4819 delay on BatSav

This commit is contained in:
Armel FAUVEAU
2024-10-14 00:04:04 +02:00
parent 5478541359
commit 2ea71b936d
2 changed files with 2 additions and 2 deletions

View File

@@ -1129,7 +1129,7 @@ void APP_Update(void)
#ifdef ENABLE_FEAT_F4HWN_SLEEP
if(gWakeUp)
{
gPowerSave_10ms = 1000; // Why ? Why not :) 10s
gPowerSave_10ms = gEeprom.BATTERY_SAVE * 250; // deep sleep now indexed on BatSav
}
else
{

View File

@@ -121,7 +121,7 @@ void FUNCTION_PowerSave() {
#ifdef ENABLE_FEAT_F4HWN_SLEEP
if(gWakeUp)
{
gPowerSave_10ms = 1000; // Why ? Why not :) 10s
gPowerSave_10ms = gEeprom.BATTERY_SAVE * 250; // deep sleep now indexed on BatSav
}
else
{