mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Merge pull request #5029 from jirif/frsky_hub
Frsky hub telemetry use battery api
This commit is contained in:
commit
06326c8b69
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ void processFrSkyHubTelemetry(timeUs_t currentTimeUs)
|
|||
sendTemperature1();
|
||||
sendThrottleOrBatterySizeAsRpm();
|
||||
|
||||
if (getBatteryState() != BATTERY_INIT) {
|
||||
if (isBatteryVoltageAvailable()) {
|
||||
sendVoltageCells();
|
||||
sendVoltageAmp();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue