mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-20 15:48:29 -04:00
Copter: fence.init() was getting called even when AC_FENCE was DISABLED
This commit is contained in:
parent
500755b5db
commit
f85b4996ff
@ -69,7 +69,9 @@ void Copter::init_ardupilot()
|
|||||||
g2.gripper.init();
|
g2.gripper.init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if AC_FENCE == ENABLED
|
||||||
fence.init();
|
fence.init();
|
||||||
|
#endif
|
||||||
|
|
||||||
// init winch and wheel encoder
|
// init winch and wheel encoder
|
||||||
winch_init();
|
winch_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user