mirror of https://github.com/ArduPilot/ardupilot
Copter: fence.init() was getting called even when AC_FENCE was DISABLED
This commit is contained in:
parent
69f98b618b
commit
dacc804f9e
|
@ -69,7 +69,9 @@ void Copter::init_ardupilot()
|
|||
g2.gripper.init();
|
||||
#endif
|
||||
|
||||
#if AC_FENCE == ENABLED
|
||||
fence.init();
|
||||
#endif
|
||||
|
||||
// init winch and wheel encoder
|
||||
winch_init();
|
||||
|
|
Loading…
Reference in New Issue