Clears Auto_land timer

This commit is contained in:
Jason Short 2012-01-05 21:14:23 -08:00
parent ce83b8efa5
commit 9d9bef37a8
1 changed files with 3 additions and 0 deletions

View File

@ -455,6 +455,9 @@ static void set_mode(byte mode)
// clearing value used in interactive alt hold // clearing value used in interactive alt hold
manual_boost = 0; manual_boost = 0;
// do not auto_land if we are leaving RTL
auto_land_timer = 0;
Serial.println(flight_mode_strings[control_mode]); Serial.println(flight_mode_strings[control_mode]);
// report the GPS and Motor arming status // report the GPS and Motor arming status