From 4187243e5c5d3e180350778207961922b651845c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 18 Feb 2019 20:38:37 +1100 Subject: [PATCH] Copter: Rally no longer takes ahrs in constructor --- ArduCopter/AP_Rally.h | 2 +- ArduCopter/Copter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/AP_Rally.h b/ArduCopter/AP_Rally.h index 2b1533a78a..15c1676d64 100644 --- a/ArduCopter/AP_Rally.h +++ b/ArduCopter/AP_Rally.h @@ -20,7 +20,7 @@ class AP_Rally_Copter : public AP_Rally { public: - AP_Rally_Copter(AP_AHRS &ahrs) : AP_Rally(ahrs) { } + AP_Rally_Copter() : AP_Rally() { } /* Do not allow copies */ AP_Rally_Copter(const AP_Rally_Copter &other) = delete; diff --git a/ArduCopter/Copter.h b/ArduCopter/Copter.h index f27481c8cd..390e63303e 100644 --- a/ArduCopter/Copter.h +++ b/ArduCopter/Copter.h @@ -496,7 +496,7 @@ private: // Rally library #if AC_RALLY == ENABLED - AP_Rally_Copter rally{ahrs}; + AP_Rally_Copter rally; #endif // RSSI