deleted set_target_altitude_location from set_next_WP

This commit is contained in:
kniuk 2021-11-09 20:19:39 +01:00 committed by Andrew Tridgell
parent c7a4ae9cce
commit 6581afcb8d
1 changed files with 0 additions and 4 deletions

View File

@ -55,10 +55,6 @@ void Plane::set_next_WP(const struct Location &loc)
prev_WP_loc = current_loc; prev_WP_loc = current_loc;
} }
// used to control FBW and limit the rate of climb
// -----------------------------------------------
set_target_altitude_location(next_WP_loc);
// zero out our loiter vals to watch for missed waypoints // zero out our loiter vals to watch for missed waypoints
loiter_angle_reset(); loiter_angle_reset();