From 56790625b8f7db5f2c9871e9e6878e57a544a7a7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 1 Oct 2020 16:35:10 +1000 Subject: [PATCH] Copter: stop passing unused inav into autorotate library --- ArduCopter/Parameters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/Parameters.cpp b/ArduCopter/Parameters.cpp index eae2472074..75cccef350 100644 --- a/ArduCopter/Parameters.cpp +++ b/ArduCopter/Parameters.cpp @@ -1021,7 +1021,7 @@ ParametersG2::ParametersG2(void) ,mode_systemid_ptr(&copter.mode_systemid) #endif #if MODE_AUTOROTATE_ENABLED == ENABLED - ,arot(copter.inertial_nav) + ,arot() #endif ,button_ptr(&copter.button) #if MODE_ZIGZAG_ENABLED == ENABLED