Skip to content

Commit

Permalink
Plane: replace AP_MotorsMatrixTS with AP_MotorsMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
kd0aij committed Aug 9, 2020
1 parent 7d5179d commit 8aa3f1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ArduPlane/quadplane.cpp
Expand Up @@ -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";
Expand Down

0 comments on commit 8aa3f1b

Please sign in to comment.