From 71f80f3a775e60bf11a5001e427b91afa2ba36b2 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Sun, 3 Jun 2012 22:25:27 -0700 Subject: [PATCH] Bug fix: When adjusting altitude, RTL then land will fail unless this var is reset to false. --- ArduCopter/system.pde | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduCopter/system.pde b/ArduCopter/system.pde index 209cf478aa..f68eb6872b 100644 --- a/ArduCopter/system.pde +++ b/ArduCopter/system.pde @@ -400,6 +400,7 @@ static void set_mode(byte mode) // clearing value used to force the copter down in landing mode landing_boost = 0; + reset_throttle_flag = false; // do we want to come to a stop or pass a WP? slow_wp = false;