Call also ReloadIdleTimer
This commit is contained in:
parent
fc2241fbf4
commit
98e74a3217
|
@ -347,6 +347,7 @@ void SystemTask::Work() {
|
||||||
case Messages::OnChargingEvent:
|
case Messages::OnChargingEvent:
|
||||||
batteryController.Update();
|
batteryController.Update();
|
||||||
motorController.RunForDuration(15);
|
motorController.RunForDuration(15);
|
||||||
|
ReloadIdleTimer();
|
||||||
if (isSleeping && !isWakingUp) {
|
if (isSleeping && !isWakingUp) {
|
||||||
GoToRunning();
|
GoToRunning();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user