mirror of https://github.com/ArduPilot/ardupilot
Copter: Rally no longer takes ahrs in constructor
This commit is contained in:
parent
101ce74071
commit
4187243e5c
|
@ -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;
|
||||
|
|
|
@ -496,7 +496,7 @@ private:
|
|||
|
||||
// Rally library
|
||||
#if AC_RALLY == ENABLED
|
||||
AP_Rally_Copter rally{ahrs};
|
||||
AP_Rally_Copter rally;
|
||||
#endif
|
||||
|
||||
// RSSI
|
||||
|
|
Loading…
Reference in New Issue