Copter: fence no longer takes reference to ahrs in constructor

This commit is contained in:
Peter Barker 2019-01-31 11:37:42 +11:00 committed by Randy Mackay
parent bcc60fd90e
commit 5dc743f1ba

View File

@ -492,7 +492,7 @@ private:
// AC_Fence library to reduce fly-aways
#if AC_FENCE == ENABLED
AC_Fence fence{ahrs};
AC_Fence fence;
#endif
#if AC_AVOID_ENABLED == ENABLED