Fix smartport GPS altitude
Value sent was erroneously scaled up by a factor of 10.
This commit is contained in:
parent
6972f3eb01
commit
50e47e1536
|
@ -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