1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Fixed consumption alert.

This commit is contained in:
mikeller 2016-11-29 19:00:14 +13:00
parent c120e702de
commit afbe7e52c2

View file

@ -296,7 +296,7 @@ void updateCurrentMeter(int32_t lastUpdateAt, rxConfig_t *rxConfig, uint16_t dea
break;
case BATTERY_WARNING:
if (calculateBatteryCapacityRemainingPercentage() == 0) {
vBatState = BATTERY_CRITICAL;
consumptionState = BATTERY_CRITICAL;
}
break;