From e037b0b9854b10f6d0b5a05010e72f6125e2c30f Mon Sep 17 00:00:00 2001 From: Ido Buchman Date: Wed, 21 Aug 2024 19:16:19 +1000 Subject: [PATCH] ArduPlane: add support for deca frame in QuadPlane::setup The deca frame is properly supported for Copter and as the quadplane vtol setup calls upon the copter frames, it should also be supported for arduplane vtol for anyone who wants to work 10 vertical motors. --- ArduPlane/quadplane.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduPlane/quadplane.cpp b/ArduPlane/quadplane.cpp index 0bb00459ee6c8e..fb0755492684c3 100644 --- a/ArduPlane/quadplane.cpp +++ b/ArduPlane/quadplane.cpp @@ -695,6 +695,9 @@ bool QuadPlane::setup(void) case AP_Motors::MOTOR_FRAME_Y6: setup_default_channels(7); break; + case AP_Motors::MOTOR_FRAME_DECA: + setup_default_channels(10); + break; case AP_Motors::MOTOR_FRAME_TRI: SRV_Channels::set_default_function(CH_5, SRV_Channel::k_motor1); SRV_Channels::set_default_function(CH_6, SRV_Channel::k_motor2);