Copter: Rally no longer takes ahrs in constructor

This commit is contained in:
Peter Barker 2019-02-18 20:38:37 +11:00 committed by Peter Barker
parent 101ce74071
commit 4187243e5c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -496,7 +496,7 @@ private:
// Rally library
#if AC_RALLY == ENABLED
AP_Rally_Copter rally{ahrs};
AP_Rally_Copter rally;
#endif
// RSSI