From 4483b9d6feca3975e2b986c6baa1cf74d56ef0f7 Mon Sep 17 00:00:00 2001 From: Shiv Tyagi Date: Thu, 21 Oct 2021 23:03:10 +0530 Subject: [PATCH] AP_Motors: add matrix for deca-cwx frame This adds a missing matrix for deca-cwx frame --- libraries/AP_Motors/AP_MotorsMatrix.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Motors/AP_MotorsMatrix.cpp b/libraries/AP_Motors/AP_MotorsMatrix.cpp index 2649e5f11c..8d2d7f2895 100644 --- a/libraries/AP_Motors/AP_MotorsMatrix.cpp +++ b/libraries/AP_Motors/AP_MotorsMatrix.cpp @@ -1192,8 +1192,9 @@ void AP_MotorsMatrix::setup_motors(motor_frame_class frame_class, motor_frame_ty add_motors(motors, ARRAY_SIZE(motors)); break; } - case MOTOR_FRAME_TYPE_X: { - _frame_type_string = "X"; + case MOTOR_FRAME_TYPE_X: + case MOTOR_FRAME_TYPE_CW_X: { + _frame_type_string = "X/CW_X"; static const AP_MotorsMatrix::MotorDef motors[] { { 18, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 1 }, { 54, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 2 },