mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
// Added in API version 1.44
comment over the change done
This commit is contained in:
parent
2623560185
commit
ed19e91131
1 changed files with 2 additions and 1 deletions
|
@ -1371,7 +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, (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.groundSpeed);
|
||||||
sbufWriteU16(dst, gpsSol.groundCourse);
|
sbufWriteU16(dst, gpsSol.groundCourse);
|
||||||
sbufWriteU16(dst, gpsSol.hdop); // Added in API version 1.44
|
// Added in API version 1.44
|
||||||
|
sbufWriteU16(dst, gpsSol.hdop);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MSP_COMP_GPS:
|
case MSP_COMP_GPS:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue