Plane: compile error fix when mount disabled
This commit is contained in:
parent
3a1465c9d1
commit
ff2a31e3ae
@ -183,8 +183,10 @@ static void init_ardupilot()
|
|||||||
|
|
||||||
relay.init();
|
relay.init();
|
||||||
|
|
||||||
|
#if MOUNT == ENABLED
|
||||||
// initialise camera mount
|
// initialise camera mount
|
||||||
camera_mount.init(serial_manager);
|
camera_mount.init(serial_manager);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if FENCE_TRIGGERED_PIN > 0
|
#if FENCE_TRIGGERED_PIN > 0
|
||||||
hal.gpio->pinMode(FENCE_TRIGGERED_PIN, HAL_GPIO_OUTPUT);
|
hal.gpio->pinMode(FENCE_TRIGGERED_PIN, HAL_GPIO_OUTPUT);
|
||||||
|
Loading…
Reference in New Issue
Block a user