Rover: fix init order to clear compile warning

no functional change
This commit is contained in:
Randy Mackay 2017-07-19 13:33:11 +09:00
parent cf47a0d563
commit 285653da30
1 changed files with 4 additions and 3 deletions

View File

@ -555,11 +555,12 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
ParametersG2::ParametersG2(void) ParametersG2::ParametersG2(void)
: beacon(rover.serial_manager), :
motors(rover.ServoRelayEvents)
#if ADVANCED_FAILSAFE == ENABLED #if ADVANCED_FAILSAFE == ENABLED
, afs(rover.mission, rover.barometer, rover.gps, rover.rcmap) afs(rover.mission, rover.barometer, rover.gps, rover.rcmap),
#endif #endif
beacon(rover.serial_manager),
motors(rover.ServoRelayEvents)
{ {
AP_Param::setup_object_defaults(this, var_info); AP_Param::setup_object_defaults(this, var_info);
} }