From 9d9bef37a8477e46d0f229eba128ea060b6b116e Mon Sep 17 00:00:00 2001 From: Jason Short Date: Thu, 5 Jan 2012 21:14:23 -0800 Subject: [PATCH] Clears Auto_land timer --- ArduCopter/system.pde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopter/system.pde b/ArduCopter/system.pde index 4c4656a611..dffc337617 100644 --- a/ArduCopter/system.pde +++ b/ArduCopter/system.pde @@ -455,6 +455,9 @@ static void set_mode(byte mode) // clearing value used in interactive alt hold manual_boost = 0; + // do not auto_land if we are leaving RTL + auto_land_timer = 0; + Serial.println(flight_mode_strings[control_mode]); // report the GPS and Motor arming status