mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
Copter: fix heli-flags compilation issue
This commit is contained in:
parent
477ae8f7be
commit
adf4140b9b
@ -27,8 +27,10 @@ public:
|
|||||||
takeoff_state(_copter.takeoff_state),
|
takeoff_state(_copter.takeoff_state),
|
||||||
ekfGndSpdLimit(_copter.ekfGndSpdLimit),
|
ekfGndSpdLimit(_copter.ekfGndSpdLimit),
|
||||||
ekfNavVelGainScaler(_copter.ekfNavVelGainScaler),
|
ekfNavVelGainScaler(_copter.ekfNavVelGainScaler),
|
||||||
auto_yaw_mode(_copter.auto_yaw_mode),
|
#if FRAME_CONFIG == HELI_FRAME
|
||||||
heli_flags(_copter.heli_flags)
|
heli_flags(_copter.heli_flags),
|
||||||
|
#endif
|
||||||
|
auto_yaw_mode(_copter.auto_yaw_mode)
|
||||||
{ };
|
{ };
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@ -77,7 +79,9 @@ protected:
|
|||||||
// auto flight mode's yaw mode
|
// auto flight mode's yaw mode
|
||||||
uint8_t &auto_yaw_mode;
|
uint8_t &auto_yaw_mode;
|
||||||
|
|
||||||
|
#if FRAME_CONFIG == HELI_FRAME
|
||||||
heli_flags_t &heli_flags;
|
heli_flags_t &heli_flags;
|
||||||
|
#endif
|
||||||
|
|
||||||
// pass-through functions to reduce code churn on conversion;
|
// pass-through functions to reduce code churn on conversion;
|
||||||
// these are candidates for moving into the FlightMode base
|
// these are candidates for moving into the FlightMode base
|
||||||
|
Loading…
Reference in New Issue
Block a user