diff --git a/ArduPlane/system.pde b/ArduPlane/system.pde index 19aa7238c9..c4e83b3f2c 100644 --- a/ArduPlane/system.pde +++ b/ArduPlane/system.pde @@ -183,8 +183,10 @@ static void init_ardupilot() relay.init(); +#if MOUNT == ENABLED // initialise camera mount camera_mount.init(serial_manager); +#endif #if FENCE_TRIGGERED_PIN > 0 hal.gpio->pinMode(FENCE_TRIGGERED_PIN, HAL_GPIO_OUTPUT);