From 9f971256563f7ea3da351521f353e17ce83a73d4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 22 May 2019 16:04:12 +1000 Subject: [PATCH] Rover: stop passing references to AC_Avoid constructor --- APMrover2/Parameters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APMrover2/Parameters.cpp b/APMrover2/Parameters.cpp index 15f3629e97..89dbbe0994 100644 --- a/APMrover2/Parameters.cpp +++ b/APMrover2/Parameters.cpp @@ -701,7 +701,7 @@ ParametersG2::ParametersG2(void) attitude_control(rover.ahrs), smart_rtl(), proximity(rover.serial_manager), - avoid(rover.ahrs, fence, rover.g2.proximity, &rover.g2.beacon), + avoid(), follow(), windvane(), airspeed(),