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 60c89ee117
commit 9cadd8c1db

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;