Merge pull request #1698 from mikeller/fix_consumption_alert

Fixed consumption alert.
This commit is contained in:
Michael Keller 2016-11-29 19:01:29 +13:00 committed by GitHub
commit e5c4da5144
1 changed files with 1 additions and 1 deletions

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;