From d796814dfcf516695a037c50f3f5561e59ea8b18 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Thu, 9 Aug 2012 16:46:40 -0700 Subject: [PATCH] ACM : Commands Logic Altitude cleanup --- ArduCopter/commands_logic.pde | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ArduCopter/commands_logic.pde b/ArduCopter/commands_logic.pde index df18e6a43a..8c988c6160 100644 --- a/ArduCopter/commands_logic.pde +++ b/ArduCopter/commands_logic.pde @@ -363,8 +363,7 @@ static bool verify_takeoff() return false; } // are we above our target altitude? - //return (current_loc.alt > next_WP.alt); - return (current_loc.alt > target_altitude); + return (current_loc.alt > next_WP.alt); } // called at 10hz