Plane: compile error fix when mount disabled

This commit is contained in:
Randy Mackay 2015-01-27 22:12:12 +09:00 committed by Andrew Tridgell
parent 3a1465c9d1
commit ff2a31e3ae

View File

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