mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 00:35:34 +03:00
fixes + flags
This commit is contained in:
parent
a670d1d216
commit
09626ea0c5
7 changed files with 63 additions and 55 deletions
|
@ -1576,7 +1576,7 @@ static void mspFcWaypointOutCommand(sbuf_t *dst, sbuf_t *src)
|
|||
{
|
||||
const uint8_t msp_wp_no = sbufReadU8(src); // get the wp number
|
||||
navWaypoint_t msp_wp;
|
||||
getWaypoint(msp_wp_no + wpMissionStartIndex, &msp_wp); // CR74
|
||||
getWaypoint(msp_wp_no + wpMissionStartIndex, &msp_wp);
|
||||
sbufWriteU8(dst, msp_wp_no); // wp_no
|
||||
sbufWriteU8(dst, msp_wp.action); // action (WAYPOINT)
|
||||
sbufWriteU32(dst, msp_wp.lat); // lat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue