Plane: fixed throttle suppression for AUTO_FBW_STEER=1

This commit is contained in:
Andrew Tridgell 2013-09-20 12:38:46 +10:00
parent 1869cd52e1
commit e455ee0a94

View File

@ -540,7 +540,12 @@ static bool suppress_throttle(void)
return false;
}
if (control_mode==AUTO && !g.auto_fbw_steer && takeoff_complete == false && auto_takeoff_check()) {
if (control_mode==AUTO && g.auto_fbw_steer) {
// user has throttle control
return false;
}
if (control_mode==AUTO && takeoff_complete == false && auto_takeoff_check()) {
// we're in auto takeoff
throttle_suppressed = false;
if (hold_course_cd != -1) {