AP_Mission: fix ap-camera-enabled fallthrough

This commit is contained in:
Randy Mackay 2023-03-08 19:51:41 +09:00 committed by Peter Barker
parent 2f95c5fa29
commit a0723e6ef5

View File

@ -378,10 +378,10 @@ bool AP_Mission::start_command(const Mission_Command& cmd)
case MAV_CMD_DO_REPEAT_SERVO:
case MAV_CMD_DO_REPEAT_RELAY:
return start_command_do_servorelayevents(cmd);
#if AP_CAMERA_ENABLED
case MAV_CMD_DO_CONTROL_VIDEO:
case MAV_CMD_DO_DIGICAM_CONFIGURE:
case MAV_CMD_DO_DIGICAM_CONTROL:
#if AP_CAMERA_ENABLED
case MAV_CMD_DO_SET_CAM_TRIGG_DIST:
return start_command_camera(cmd);
#endif