This commit is contained in:
Lubos Petrovic
2020-12-28 20:17:51 +01:00
parent 004dcdbdeb
commit 9f7f94d262

View File

@@ -1477,7 +1477,7 @@ void Board320_240::mainLoop() {
}
}
// Turn off display if Ignition is off for more than 10s, less than month (prevent sync gps time)
// Turn off display if Ignition is off for more than 10s, less than month (prevent sleep when gps time is synchronized)
if(liveData->params.currentTime - liveData->params.lastIgnitionOnTime > 10 && liveData->params.currentTime - liveData->params.lastIgnitionOnTime < MONTH_SEC
&& liveData->params.lastIgnitionOnTime != 0
&& liveData->settings.sleepModeEnabled) {