mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
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
|
class AP_Rally_Copter : public AP_Rally
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
AP_Rally_Copter(AP_AHRS &ahrs) : AP_Rally(ahrs) { }
|
AP_Rally_Copter() : AP_Rally() { }
|
||||||
|
|
||||||
/* Do not allow copies */
|
/* Do not allow copies */
|
||||||
AP_Rally_Copter(const AP_Rally_Copter &other) = delete;
|
AP_Rally_Copter(const AP_Rally_Copter &other) = delete;
|
||||||
|
@ -496,7 +496,7 @@ private:
|
|||||||
|
|
||||||
// Rally library
|
// Rally library
|
||||||
#if AC_RALLY == ENABLED
|
#if AC_RALLY == ENABLED
|
||||||
AP_Rally_Copter rally{ahrs};
|
AP_Rally_Copter rally;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// RSSI
|
// RSSI
|
||||||
|
Loading…
Reference in New Issue
Block a user