Frsky hub telemetry use battery api
This commit is contained in:
parent
67523493a0
commit
9d3d034a10
|
@ -554,7 +554,7 @@ void processFrSkyHubTelemetry(timeUs_t currentTimeUs)
|
||||||
sendTemperature1();
|
sendTemperature1();
|
||||||
sendThrottleOrBatterySizeAsRpm();
|
sendThrottleOrBatterySizeAsRpm();
|
||||||
|
|
||||||
if (getBatteryState() != BATTERY_INIT) {
|
if (isBatteryVoltageAvailable()) {
|
||||||
sendVoltageCells();
|
sendVoltageCells();
|
||||||
sendVoltageAmp();
|
sendVoltageAmp();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue