mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: use static method to construct AP_LandingGear
This commit is contained in:
parent
beabccf9ef
commit
70d8a08626
|
@ -580,7 +580,7 @@ private:
|
|||
#endif
|
||||
|
||||
// Landing Gear Controller
|
||||
AP_LandingGear landinggear;
|
||||
AP_LandingGear landinggear = AP_LandingGear::create();
|
||||
|
||||
// terrain handling
|
||||
#if AP_TERRAIN_AVAILABLE && AC_TERRAIN
|
||||
|
|
Loading…
Reference in New Issue