mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Update msp.c
Add hdop in MSP_RAW_GPS https://github.com/betaflight/betaflight/issues/10063
This commit is contained in:
parent
a752d3d218
commit
a09210dcd4
1 changed files with 1 additions and 0 deletions
|
@ -1371,6 +1371,7 @@ 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);
|
||||
sbufWriteU16(dst, gpsSol.hdop);
|
||||
break;
|
||||
|
||||
case MSP_COMP_GPS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue