Plane: replace AP_MotorsMatrixTS with AP_MotorsMatrix

This commit is contained in:
Mark Whitehorn 2020-08-09 08:23:49 -06:00 committed by Andrew Tridgell
parent d3c1838fbe
commit bcdd16025b
1 changed files with 2 additions and 2 deletions

View File

@ -695,8 +695,8 @@ bool QuadPlane::setup(void)
tilt.tilt_mask.set(0);
}
rotation = ROTATION_PITCH_90;
motors = new AP_MotorsMatrixTS(plane.scheduler.get_loop_rate_hz(), rc_speed);
motors_var_info = AP_MotorsMatrixTS::var_info;
motors = new AP_MotorsMatrix(plane.scheduler.get_loop_rate_hz(), rc_speed);
motors_var_info = AP_MotorsMatrix::var_info;
}
const static char *strUnableToAllocate = "Unable to allocate";