Skip to content

Commit

Permalink
Update navigation.c
Browse files Browse the repository at this point in the history
  • Loading branch information
breadoven committed May 13, 2024
1 parent 2d2cddb commit c9b6979
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/navigation/navigation.c
Original file line number Diff line number Diff line change
Expand Up @@ -4013,13 +4013,6 @@ bool isNavHoldPositionActive(void)
return !FLIGHT_MODE(NAV_FW_AUTOLAND) && !posControl.flags.rthTrackbackActive;
}

if (FLIGHT_MODE(NAV_WP_MODE)) {
return posControl.waypointList[posControl.activeWaypointIndex].action != NAV_WP_ACTION_WAYPOINT || isLastMissionWaypoint();
}

return !FLIGHT_MODE(NAV_FW_AUTOLAND) && !posControl.flags.rthTrackbackActive;
}

float getActiveSpeed(void)
{
/* Currently only applicable for multicopter */
Expand Down

0 comments on commit c9b6979

Please sign in to comment.