Skip to content

Commit

Permalink
Rover: re-order initialiser lines so -Werror=reorder will work
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Sep 22, 2024
1 parent 9fd7530 commit 6b34463
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Rover/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,26 +735,26 @@ ParametersG2::ParametersG2(void)
#if AP_BEACON_ENABLED
beacon(),
#endif
motors(wheel_rate_control),
wheel_rate_control(wheel_encoder),
motors(wheel_rate_control),
attitude_control(),
smart_rtl(),
#if MODE_DOCK_ENABLED
mode_dock_ptr(&rover.mode_dock),
#endif
#if HAL_PROXIMITY_ENABLED
proximity(),
#endif
#if MODE_DOCK_ENABLED
mode_dock_ptr(&rover.mode_dock),
#endif
#if AP_AVOIDANCE_ENABLED
avoid(),
#endif
#if AP_FOLLOW_ENABLED
follow(),
#endif
windvane(),
pos_control(attitude_control),
wp_nav(attitude_control, pos_control),
sailboat()
sailboat(),
pos_control(attitude_control)
{
AP_Param::setup_object_defaults(this, var_info);
}
Expand Down

0 comments on commit 6b34463

Please sign in to comment.