mirror of https://github.com/ArduPilot/ardupilot
Sub: correct compilation when avoidance enabled
This commit is contained in:
parent
54509a72c8
commit
e1686db7bf
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue