mirror of https://github.com/ArduPilot/ardupilot
Sub: stop passing references to AC_Avoid constructor
This commit is contained in:
parent
3ef84d2b96
commit
6774bab363
|
@ -421,7 +421,7 @@ private:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if AVOIDANCE_ENABLED == ENABLED
|
#if AVOIDANCE_ENABLED == ENABLED
|
||||||
AC_Avoid avoid{ahrs, fence, g2.proximity, &g2.beacon};
|
AC_Avoid avoid;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Rally library
|
// Rally library
|
||||||
|
|
Loading…
Reference in New Issue