autosleep

This commit is contained in:
Lubos Petrovic
2020-12-28 13:58:19 +01:00
parent af13d950af
commit 40d0b9f0bc
3 changed files with 10 additions and 9 deletions

View File

@@ -173,7 +173,7 @@ void Board320_240::afterSleep() {
commInterface->mainLoop();
}
if(liveData->params.auxVoltage < 12) {
if (liveData->params.auxVoltage > 5 && liveData->params.auxVoltage < 12) {
syslog->println("AuxBATT too low!");
goToSleep();
} else if(!liveData->params.ignitionOn && !liveData->params.chargingOn) {