From 50e47e1536ca354ec1fe761b775b924b66d3fad0 Mon Sep 17 00:00:00 2001 From: Bruce Luckcuck Date: Mon, 10 Dec 2018 09:36:04 -0500 Subject: [PATCH] Fix smartport GPS altitude Value sent was erroneously scaled up by a factor of 10. --- 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 e0d581f3f..c7b85c2f2 100644 --- a/src/main/telemetry/smartport.c +++ b/src/main/telemetry/smartport.c @@ -824,7 +824,7 @@ void processSmartPortTelemetry(smartPortPayload_t *payload, volatile bool *clear break; case FSSP_DATAID_GPS_ALT : if (STATE(GPS_FIX)) { - smartPortSendPackage(id, gpsSol.llh.altCm * 10); // given in 0.01m , requested in 10 = 1m (should be in mm, probably a bug in opentx, tested on 2.0.1.7) + smartPortSendPackage(id, gpsSol.llh.altCm); // given in 0.01m *clearToSend = false; } break;