From 9d3d034a10241a038f35c3d38ce2d3487a8b2677 Mon Sep 17 00:00:00 2001 From: jirif Date: Thu, 25 Jan 2018 09:25:59 +0100 Subject: [PATCH] Frsky hub telemetry use battery api --- src/main/telemetry/frsky_hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/telemetry/frsky_hub.c b/src/main/telemetry/frsky_hub.c index f53fd8be3..0eaada8ec 100644 --- a/src/main/telemetry/frsky_hub.c +++ b/src/main/telemetry/frsky_hub.c @@ -554,7 +554,7 @@ void processFrSkyHubTelemetry(timeUs_t currentTimeUs) sendTemperature1(); sendThrottleOrBatterySizeAsRpm(); - if (getBatteryState() != BATTERY_INIT) { + if (isBatteryVoltageAvailable()) { sendVoltageCells(); sendVoltageAmp();