Skip to content

Commit

Permalink
Merge pull request #7200 from etracer65/fix_smartport_gps_alt
Browse files Browse the repository at this point in the history
Fix smartport GPS altitude
  • Loading branch information
mikeller committed Dec 12, 2018
1 parent 986635c commit eb95546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/telemetry/smartport.c
Expand Up @@ -806,7 +806,7 @@ void processSmartPortTelemetry(smartPortPayload_t *payload, volatile bool *clear
break;
case FSSP_DATAID_GPS_ALT :
if (STATE(GPS_FIX)) {
smartPortSendPackage(id, gpsSol.llh.alt * 100); // given in 0.1m , requested in 10 = 1m (should be in mm, probably a bug in opentx, tested on 2.0.1.7)
smartPortSendPackage(id, gpsSol.llh.alt); // given in 0.01m
*clearToSend = false;
}
break;
Expand Down

0 comments on commit eb95546

Please sign in to comment.