1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Frsky hub telemetry use battery api

This commit is contained in:
jirif 2018-01-25 09:25:59 +01:00
parent 67523493a0
commit 9d3d034a10

View file

@ -554,7 +554,7 @@ void processFrSkyHubTelemetry(timeUs_t currentTimeUs)
sendTemperature1(); sendTemperature1();
sendThrottleOrBatterySizeAsRpm(); sendThrottleOrBatterySizeAsRpm();
if (getBatteryState() != BATTERY_INIT) { if (isBatteryVoltageAvailable()) {
sendVoltageCells(); sendVoltageCells();
sendVoltageAmp(); sendVoltageAmp();