Rover: re-order initialiser lines so -Werror=reorder will work

This commit is contained in:
Peter Barker 2024-09-22 10:37:45 +10:00 committed by Peter Barker
parent 3d4b57cd4a
commit 6e0f39e3e1
1 changed files with 6 additions and 6 deletions

View File

@ -735,16 +735,16 @@ 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
@ -752,9 +752,9 @@ ParametersG2::ParametersG2(void)
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);
}