Copter: pass inertial_nav to fence

This commit is contained in:
Jonathan Challinger 2015-04-13 15:08:54 -07:00 committed by Randy Mackay
parent f06cc5d0c1
commit e5a6023827

View File

@ -647,7 +647,7 @@ static AP_Mount camera_mount(ahrs, current_loc);
// AC_Fence library to reduce fly-aways
////////////////////////////////////////////////////////////////////////////////
#if AC_FENCE == ENABLED
AC_Fence fence(&inertial_nav);
AC_Fence fence(inertial_nav);
#endif
////////////////////////////////////////////////////////////////////////////////