diff --git a/ArduSub/Parameters.cpp b/ArduSub/Parameters.cpp index d517928808..766714c983 100644 --- a/ArduSub/Parameters.cpp +++ b/ArduSub/Parameters.cpp @@ -640,9 +640,6 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = { constructor for g2 object */ ParametersG2::ParametersG2() -#if PROXIMITY_ENABLED == ENABLED - : proximity(sub.serial_manager) -#endif { AP_Param::setup_object_defaults(this, var_info); }