AP_Motors: add matrix for deca-cwx frame

This adds a missing matrix for deca-cwx frame
This commit is contained in:
Shiv Tyagi 2021-10-21 23:03:10 +05:30 committed by Randy Mackay
parent 7237e346d8
commit 4483b9d6fe
1 changed files with 3 additions and 2 deletions

View File

@ -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 },