From e1686db7bff6b6cdabc3c4af838caf226e07ce80 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 1 Nov 2019 19:40:25 +1100 Subject: [PATCH] Sub: correct compilation when avoidance enabled --- ArduSub/Parameters.cpp | 3 --- 1 file changed, 3 deletions(-) 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); }