mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Maintain previous MSP GPS Heading resolution
This commit is contained in:
parent
21594c62e1
commit
8f29388546
1 changed files with 1 additions and 1 deletions
|
@ -1468,7 +1468,7 @@ static bool mspProcessOutCommand(int16_t cmdMSP, sbuf_t *dst)
|
|||
|
||||
case MSP_COMP_GPS:
|
||||
sbufWriteU16(dst, GPS_distanceToHome);
|
||||
sbufWriteU16(dst, GPS_directionToHome);
|
||||
sbufWriteU16(dst, GPS_directionToHome / 10); // resolution increased in Betaflight 4.4 by factor of 10, this maintains backwards compatibility for DJI OSD
|
||||
sbufWriteU8(dst, GPS_update & 1);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue