Bug fix: When adjusting altitude, RTL then land will fail unless this var is reset to false.

This commit is contained in:
Jason Short 2012-06-03 22:25:27 -07:00
parent 1b9f75c844
commit 71f80f3a77
1 changed files with 1 additions and 0 deletions

View File

@ -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;