Call also ReloadIdleTimer
This commit is contained in:
parent
fc2241fbf4
commit
98e74a3217
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue