Make trunk happy again

This commit is contained in:
Manuel Verch
2023-04-22 09:08:55 +02:00
committed by Thomas Göttgens
co-authored by Thomas Göttgens
parent 5dfb5172c2
commit 6e26f95df9
+2 -1
View File
@@ -365,7 +365,8 @@ void Power::readPowerStatus()
#endif
// If we have a battery at all and it is less than 10% full, force deep sleep if we have more than 10 low readings in a row
// If we have a battery at all and it is less than 10% full, force deep sleep if we have more than 10 low readings in a
// row
if (powerStatus2.getHasBattery() && !powerStatus2.getHasUSB()) {
if (batteryLevel->getBattVoltage() < MIN_BAT_MILLIVOLTS) {
low_voltage_counter++;