mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user