diff --git a/radio/releasenotes.txt b/radio/releasenotes.txt index e2939415a..4b1d53ad4 100644 --- a/radio/releasenotes.txt +++ b/radio/releasenotes.txt @@ -12,10 +12,10 @@
  • New feature: model name played when model is loaded (plays file "SOUNDS///name.wav") (#2404)
  • Faster scrolling when setting custom sensor id (#2506)
  • Removed telemetry values from available selection in Global Functions for "Play Value" and "Reset" (#2519)
  • -
  • Fixed non working VFAS when using D series sensors (#2518)
  • D-type RPM sensor was broken (#2509)
  • Voltage unit symbol changed from "v" to "V" (#2509)
  • Fixed missing option in the sensor setup menu (#2533)
  • +
  • Fixed several VFAS issues when using D series sensors (#2518, #2531)
  • , #2530) [Boards with narrow LCD (9X, 9XR, etc)] diff --git a/radio/src/telemetry/frsky_d.cpp b/radio/src/telemetry/frsky_d.cpp index 0e2e3d927..be0428182 100644 --- a/radio/src/telemetry/frsky_d.cpp +++ b/radio/src/telemetry/frsky_d.cpp @@ -601,7 +601,7 @@ void processHubPacket(uint8_t id, int16_t value) } else if (id == VOLTS_AP_ID) { if (lastId == VOLTS_BP_ID) { - data += lastValue * 100; + data = ((lastValue * 100 + value * 10) * 210) / 110; unit = UNIT_VOLTS; precision = 2; } @@ -639,6 +639,9 @@ void processHubPacket(uint8_t id, int16_t value) if (id == RPM_ID) { data = data * 60; } + else if (id == VFAS_ID) { + data *= 10; + } setTelemetryValue(TELEM_PROTO_FRSKY_D, id, 0, data, unit, precision); }