From 6ea60aa66204a1644034f61002e3610934150c40 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Fri, 5 Jun 2015 15:15:03 +0900 Subject: [PATCH] AC_PosControl: remove default from set_alt_target_from_climb_rate --- libraries/AC_AttitudeControl/AC_PosControl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AC_AttitudeControl/AC_PosControl.h b/libraries/AC_AttitudeControl/AC_PosControl.h index 204a213ea1..0941e5c00b 100644 --- a/libraries/AC_AttitudeControl/AC_PosControl.h +++ b/libraries/AC_AttitudeControl/AC_PosControl.h @@ -125,7 +125,7 @@ public: /// actual position target will be moved no faster than the speed_down and speed_up /// target will also be stopped if the motors hit their limits or leash length is exceeded /// set force_descend to true during landing to allow target to move low enough to slow the motors - void set_alt_target_from_climb_rate(float climb_rate_cms, float dt, bool force_descend = false); + void set_alt_target_from_climb_rate(float climb_rate_cms, float dt, bool force_descend); /// add_takeoff_climb_rate - adjusts alt target up or down using a climb rate in cm/s /// should be called continuously (with dt set to be the expected time between calls)