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

This commit is contained in:
Peter Barker 2024-09-20 22:20:44 +10:00 committed by Peter Barker
parent db767ce0dd
commit 2bbf1a63a7
1 changed files with 3 additions and 3 deletions

View File

@ -1294,12 +1294,12 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
ParametersG2::ParametersG2(void) :
unused_integer{1}
#if HAL_SOARING_ENABLED
,soaring_controller(plane.TECS_controller, plane.aparm)
#endif
#if HAL_BUTTON_ENABLED
,button_ptr(&plane.button)
#endif
#if HAL_SOARING_ENABLED
,soaring_controller(plane.TECS_controller, plane.aparm)
#endif
{
AP_Param::setup_object_defaults(this, var_info);
}