Fixed consumption alert.
This commit is contained in:
parent
c120e702de
commit
afbe7e52c2
|
@ -296,7 +296,7 @@ void updateCurrentMeter(int32_t lastUpdateAt, rxConfig_t *rxConfig, uint16_t dea
|
||||||
break;
|
break;
|
||||||
case BATTERY_WARNING:
|
case BATTERY_WARNING:
|
||||||
if (calculateBatteryCapacityRemainingPercentage() == 0) {
|
if (calculateBatteryCapacityRemainingPercentage() == 0) {
|
||||||
vBatState = BATTERY_CRITICAL;
|
consumptionState = BATTERY_CRITICAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue