Update 'firmware/firmware.ino'

Removed variable check which is always true.
This commit is contained in:
klaute 2019-01-06 17:13:37 +00:00
parent 6c6f568ab1
commit c1b19add3b
1 changed files with 2 additions and 4 deletions

View File

@ -150,9 +150,7 @@ int energySavingMode() {
// Is the battery low?
if (currentSensorData[SENSOR_BAT_VOLTAGE] <= BAT_LOW_VOLTAGE) {
// Entering energy saving
if (energySavingIterations == 0) {
energySavingIterations = ENERGY_SAVING_ITERATIONS;
}
energySavingIterations = ENERGY_SAVING_ITERATIONS;
return 1;
}
@ -231,4 +229,4 @@ void _loop() {
}
//*************************************************************************//
//*************************************************************************//