Browse Source

Copter: Rally no longer takes ahrs in constructor

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
4187243e5c
  1. 2
      ArduCopter/AP_Rally.h
  2. 2
      ArduCopter/Copter.h

2
ArduCopter/AP_Rally.h

@ -20,7 +20,7 @@ @@ -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;

2
ArduCopter/Copter.h

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

Loading…
Cancel
Save