mirror of https://github.com/ArduPilot/ardupilot
Rover: fix init order to clear compile warning
no functional change
This commit is contained in:
parent
cf47a0d563
commit
285653da30
|
@ -555,11 +555,12 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
|
|||
|
||||
|
||||
ParametersG2::ParametersG2(void)
|
||||
: beacon(rover.serial_manager),
|
||||
motors(rover.ServoRelayEvents)
|
||||
:
|
||||
#if ADVANCED_FAILSAFE == ENABLED
|
||||
, afs(rover.mission, rover.barometer, rover.gps, rover.rcmap)
|
||||
afs(rover.mission, rover.barometer, rover.gps, rover.rcmap),
|
||||
#endif
|
||||
beacon(rover.serial_manager),
|
||||
motors(rover.ServoRelayEvents)
|
||||
{
|
||||
AP_Param::setup_object_defaults(this, var_info);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue