Skip to content

Commit

Permalink
Update navigation.c (#6852)
Browse files Browse the repository at this point in the history
  • Loading branch information
breadoven committed Apr 19, 2021
1 parent c63aa64 commit 65f3443
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/navigation/navigation.c
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,7 @@ static navigationFSMEvent_t navOnEnteringState_NAV_STATE_WAYPOINT_INITIALIZE(nav
*/
setupJumpCounters();
posControl.activeWaypointIndex = 0;
wpHeadingControl.mode = NAV_WP_HEAD_MODE_NONE;
return NAV_FSM_EVENT_SUCCESS; // will switch to NAV_STATE_WAYPOINT_PRE_ACTION
}
}
Expand Down

0 comments on commit 65f3443

Please sign in to comment.