Sub: correct compilation when avoidance enabled

This commit is contained in:
Peter Barker 2019-11-01 19:40:25 +11:00 committed by Peter Barker
parent 54509a72c8
commit e1686db7bf

View File

@ -640,9 +640,6 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
constructor for g2 object constructor for g2 object
*/ */
ParametersG2::ParametersG2() ParametersG2::ParametersG2()
#if PROXIMITY_ENABLED == ENABLED
: proximity(sub.serial_manager)
#endif
{ {
AP_Param::setup_object_defaults(this, var_info); AP_Param::setup_object_defaults(this, var_info);
} }