mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Copter: pass inertial_nav to fence
This commit is contained in:
parent
f06cc5d0c1
commit
e5a6023827
@ -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
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user