diff --git a/APMrover2/Parameters.cpp b/APMrover2/Parameters.cpp index 02e9973430..ea9730dc7d 100644 --- a/APMrover2/Parameters.cpp +++ b/APMrover2/Parameters.cpp @@ -567,7 +567,7 @@ ParametersG2::ParametersG2(void) beacon(rover.serial_manager), motors(rover.ServoRelayEvents), attitude_control(rover.ahrs), - smart_rtl(rover.ahrs), + smart_rtl(), fence(rover.ahrs), proximity(rover.serial_manager), avoid(rover.ahrs, fence, rover.g2.proximity, &rover.g2.beacon)