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 authored and tridge committed Sep 8, 2020
1 parent d3c1838 commit bcdd160
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 bcdd160

Please sign in to comment.