From 6506ebf69f87129efdeac0665588a530b6643d9c Mon Sep 17 00:00:00 2001 From: Jason Short Date: Thu, 19 Jul 2012 10:09:16 -0700 Subject: [PATCH] Arducopter: Fix compile issue --- ArduCopter/navigation.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/navigation.pde b/ArduCopter/navigation.pde index 7ef34c1fa6..e35832e6a4 100644 --- a/ArduCopter/navigation.pde +++ b/ArduCopter/navigation.pde @@ -278,7 +278,7 @@ static int16_t get_desired_speed(int16_t max_speed, bool _slow) return max_speed; } -static int16_t get_desired_climb_rate(int16_t speed) +static int16_t get_desired_climb_rate() { if(alt_change_flag == ASCENDING){ return constrain(altitude_error / 4, 65, 180); // 180cm /s up