Skip to content

Commit 8e59d61

Browse files
Ryanf55IamPete1
andauthored
Update ArduPlane/Plane.cpp
Co-authored-by: Peter Hall <[email protected]>
1 parent 7d4366c commit 8e59d61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArduPlane/Plane.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ bool Plane::is_taking_off() const
10111011

10121012
bool Plane::start_takeoff(const float alt) {
10131013
#if HAL_QUADPLANE_ENABLED
1014-
return quadplane.do_user_takeoff(alt);
1014+
return plane.quadplane.available() && quadplane.do_user_takeoff(alt);
10151015
#else
10161016
return false;
10171017
#endif

0 commit comments

Comments
 (0)