Merge pull request #7200 from etracer65/fix_smartport_gps_alt
Fix smartport GPS altitude
This commit is contained in:
commit
6cea7039d5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue