Skip to content

Commit

Permalink
Update navigation.c
Browse files Browse the repository at this point in the history
  • Loading branch information
breadoven committed Nov 8, 2021
1 parent d5b7a2c commit 3c4df22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/navigation/navigation.c
Original file line number Diff line number Diff line change
Expand Up @@ -3588,7 +3588,7 @@ void missionPlannerSetWaypoint(void)
}

posControl.wpPlannerActiveWPIndex += 1;
posControl.waypointCount = posControl.wpPlannerActiveWPIndex;
posControl.waypointCount = posControl.geoWaypointCount = posControl.wpPlannerActiveWPIndex;
posControl.wpMissionPlannerStatus = posControl.waypointCount == NAV_MAX_WAYPOINTS ? WP_PLAN_FULL : WP_PLAN_OK;
boxWPModeIsReset = false;
}
Expand Down

0 comments on commit 3c4df22

Please sign in to comment.