Index Deep Sleep BK4819 delay on BatSav
This commit is contained in:
@@ -1129,7 +1129,7 @@ void APP_Update(void)
|
|||||||
#ifdef ENABLE_FEAT_F4HWN_SLEEP
|
#ifdef ENABLE_FEAT_F4HWN_SLEEP
|
||||||
if(gWakeUp)
|
if(gWakeUp)
|
||||||
{
|
{
|
||||||
gPowerSave_10ms = 1000; // Why ? Why not :) 10s
|
gPowerSave_10ms = gEeprom.BATTERY_SAVE * 250; // deep sleep now indexed on BatSav
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@@ -121,7 +121,7 @@ void FUNCTION_PowerSave() {
|
|||||||
#ifdef ENABLE_FEAT_F4HWN_SLEEP
|
#ifdef ENABLE_FEAT_F4HWN_SLEEP
|
||||||
if(gWakeUp)
|
if(gWakeUp)
|
||||||
{
|
{
|
||||||
gPowerSave_10ms = 1000; // Why ? Why not :) 10s
|
gPowerSave_10ms = gEeprom.BATTERY_SAVE * 250; // deep sleep now indexed on BatSav
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user