Plane: correct the ability to disable the takeoff atititude checks

This commit is contained in:
Peter Barker 2024-09-21 17:22:23 +10:00 committed by Randy Mackay
parent 929c46a647
commit e7de1b9273
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ bool Plane::auto_takeoff_check(void)
bool do_takeoff_attitude_check = !(flight_option_enabled(FlightOptions::DISABLE_TOFF_ATTITUDE_CHK));
#if HAL_QUADPLANE_ENABLED
// disable attitude check on tailsitters
do_takeoff_attitude_check = !quadplane.tailsitter.enabled();
do_takeoff_attitude_check &= !quadplane.tailsitter.enabled();
#endif
if (!takeoff_state.launchTimerStarted && !is_zero(g.takeoff_throttle_min_accel)) {