Update 'firmware/firmware.ino'
Removed variable check which is always true.
This commit is contained in:
parent
6c6f568ab1
commit
c1b19add3b
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue