mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
Copter: stop passing references to AC_Avoid constructor
This commit is contained in:
parent
9f97125656
commit
3ef84d2b96
@ -472,11 +472,7 @@ private:
|
||||
#endif
|
||||
|
||||
#if AC_AVOID_ENABLED == ENABLED
|
||||
# if BEACON_ENABLED == ENABLED
|
||||
AC_Avoid avoid{ahrs, fence, g2.proximity, &g2.beacon};
|
||||
# else
|
||||
AC_Avoid avoid{ahrs, fence, g2.proximity};
|
||||
# endif
|
||||
AC_Avoid avoid;
|
||||
#endif
|
||||
|
||||
// Rally library
|
||||
|
Loading…
Reference in New Issue
Block a user