Browse Source

Copter: fence.init() was getting called even when AC_FENCE was DISABLED

copter407
Zach Dwiel 5 years ago committed by Randy Mackay
parent
commit
dacc804f9e
  1. 4
      ArduCopter/system.cpp

4
ArduCopter/system.cpp

@ -69,8 +69,10 @@ void Copter::init_ardupilot() @@ -69,8 +69,10 @@ void Copter::init_ardupilot()
g2.gripper.init();
#endif
#if AC_FENCE == ENABLED
fence.init();
#endif
// init winch and wheel encoder
winch_init();

Loading…
Cancel
Save