fix(telemetry): Remove 10x multiplier for Frsky_D A1..A2 voltage sensor value (#4583)

Affects all Frsky_D derived telemetry (i.e. MPM => OMP)
This commit is contained in:
Frankie Arzu
2024-02-03 16:19:51 +10:00
committed by GitHub
parent 6b6a12ab45
commit db03122bec
+2 -2
View File
@@ -71,8 +71,8 @@ void frskyDProcessPacket(uint8_t module, const uint8_t *packet, uint8_t len)
// A1/A2/RSSI values
case LINKPKT:
{
setTelemetryValue(proto, D_A1_ID, 0, 0, packet[1], UNIT_VOLTS, 0);
setTelemetryValue(proto, D_A2_ID, 0, 0, packet[2], UNIT_VOLTS, 0);
setTelemetryValue(proto, D_A1_ID, 0, 0, packet[1], UNIT_VOLTS, 1);
setTelemetryValue(proto, D_A2_ID, 0, 0, packet[2], UNIT_VOLTS, 1);
setTelemetryValue(proto, D_RSSI_ID, 0, 0, packet[3], UNIT_RAW, 0);
if (len >= 7) {