mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -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
|
// AC_Fence library to reduce fly-aways
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
#if AC_FENCE == ENABLED
|
#if AC_FENCE == ENABLED
|
||||||
AC_Fence fence(&inertial_nav);
|
AC_Fence fence(inertial_nav);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user