mirror of https://github.com/ArduPilot/ardupilot
ArduPlane: re-order initialiser lines so -Werror=reorder will work
This commit is contained in:
parent
db767ce0dd
commit
2bbf1a63a7
|
@ -1294,12 +1294,12 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
|
||||||
|
|
||||||
ParametersG2::ParametersG2(void) :
|
ParametersG2::ParametersG2(void) :
|
||||||
unused_integer{1}
|
unused_integer{1}
|
||||||
#if HAL_SOARING_ENABLED
|
|
||||||
,soaring_controller(plane.TECS_controller, plane.aparm)
|
|
||||||
#endif
|
|
||||||
#if HAL_BUTTON_ENABLED
|
#if HAL_BUTTON_ENABLED
|
||||||
,button_ptr(&plane.button)
|
,button_ptr(&plane.button)
|
||||||
#endif
|
#endif
|
||||||
|
#if HAL_SOARING_ENABLED
|
||||||
|
,soaring_controller(plane.TECS_controller, plane.aparm)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
AP_Param::setup_object_defaults(this, var_info);
|
AP_Param::setup_object_defaults(this, var_info);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue