From 5dc743f1bac36f9d71d279ae41baba5e677a1f4e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 31 Jan 2019 11:37:42 +1100 Subject: [PATCH] Copter: fence no longer takes reference to ahrs in constructor --- ArduCopter/Copter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/Copter.h b/ArduCopter/Copter.h index 71cf9e9ec5..7f33b270a7 100644 --- a/ArduCopter/Copter.h +++ b/ArduCopter/Copter.h @@ -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