From a1f30841c009b0ce35567ce1f78b5a68fbed7896 Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Sun, 21 Feb 2016 13:31:22 +0100 Subject: [PATCH] VFAS is now cell voltage --- src/main/telemetry/smartport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/telemetry/smartport.c b/src/main/telemetry/smartport.c index ef5389920e..72e0f908d1 100644 --- a/src/main/telemetry/smartport.c +++ b/src/main/telemetry/smartport.c @@ -326,7 +326,7 @@ void handleSmartPortTelemetry(void) #endif case FSSP_DATAID_VFAS : if (feature(FEATURE_VBAT)) { - smartPortSendPackage(id, vbat * 10); // given in 0.1V, convert to volts + smartPortSendPackage(id, (vbat / batteryCellCount) * 10); // given in 0.1V, convert to volts smartPortHasRequest = 0; } break;