Skip to content

Commit

Permalink
AC_WPNav: remote un-needed initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed May 20, 2024
1 parent 3e868be commit ee06274
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions libraries/AC_WPNav/AC_Circle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,7 @@ const AP_Param::GroupInfo AC_Circle::var_info[] = {
AC_Circle::AC_Circle(const AP_InertialNav& inav, const AP_AHRS_View& ahrs, AC_PosControl& pos_control) :
_inav(inav),
_ahrs(ahrs),
_pos_control(pos_control),
_yaw(0.0f),
_angle(0.0f),
_angle_total(0.0f),
_angular_vel(0.0f),
_angular_vel_max(0.0f),
_angular_accel(0.0f)
_pos_control(pos_control)
{
AP_Param::setup_object_defaults(this, var_info);

Expand Down

0 comments on commit ee06274

Please sign in to comment.