From e7ec096cd5ff968c986da1b2b31e8508e9509260 Mon Sep 17 00:00:00 2001 From: Petri Mattila Date: Mon, 7 Oct 2024 08:42:44 +0100 Subject: [PATCH] Fix ESC voltage and current telemetry scaling --- src/main/telemetry/sensors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/telemetry/sensors.c b/src/main/telemetry/sensors.c index c3f16e8c6a..d7b357a2d3 100644 --- a/src/main/telemetry/sensors.c +++ b/src/main/telemetry/sensors.c @@ -96,9 +96,9 @@ static int getEscSensorValue(uint8_t motor, uint8_t id) case 8: return data->temperature2 / 10; case 9: - return data->bec_voltage; + return data->bec_voltage / 10; case 10: - return data->bec_current; + return data->bec_current / 10; case 11: return data->status; case 12: