Browse Source

ArduCopter: use static method to construct AP_LandingGear

master
Lucas De Marchi 8 years ago committed by Francisco Ferreira
parent
commit
70d8a08626
  1. 2
      ArduCopter/Copter.h

2
ArduCopter/Copter.h

@ -580,7 +580,7 @@ private: @@ -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…
Cancel
Save