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
1 changed files with 0 additions and 3 deletions

View File

@ -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);
}