Copter: correct compilation when fence disabled

This commit is contained in:
Peter Barker 2019-11-01 09:43:24 +11:00 committed by Peter Barker
parent 843e48c635
commit 0ab9ddd600

View File

@ -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();