1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Merge pull request #10064 from dev-fred/master

This commit is contained in:
Michael Keller 2020-08-01 19:11:14 +12:00 committed by GitHub
commit f33c944f14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1371,6 +1371,8 @@ static bool mspProcessOutCommand(int16_t cmdMSP, sbuf_t *dst)
sbufWriteU16(dst, (uint16_t)constrain(gpsSol.llh.altCm / 100, 0, UINT16_MAX)); // alt changed from 1m to 0.01m per lsb since MSP API 1.39 by RTH. To maintain backwards compatibility compensate to 1m per lsb in MSP again.
sbufWriteU16(dst, gpsSol.groundSpeed);
sbufWriteU16(dst, gpsSol.groundCourse);
// Added in API version 1.44
sbufWriteU16(dst, gpsSol.hdop);
break;
case MSP_COMP_GPS: