Browse Source

Copter: pass inertial_nav to fence

mission-4.1.18
Jonathan Challinger 10 years ago committed by Randy Mackay
parent
commit
e5a6023827
  1. 2
      ArduCopter/ArduCopter.pde

2
ArduCopter/ArduCopter.pde

@ -647,7 +647,7 @@ static AP_Mount camera_mount(ahrs, current_loc); @@ -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…
Cancel
Save