Rover: ack DO_MOUNT_CONTROL messages

This commit is contained in:
Randy Mackay 2016-04-22 20:22:35 +09:00
parent 762c9ed4b0
commit a5ed3c9b12

View File

@ -943,6 +943,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
case MAV_CMD_DO_MOUNT_CONTROL:
#if MOUNT == ENABLED
rover.camera_mount.control(packet.param1, packet.param2, packet.param3, (MAV_MOUNT_MODE) packet.param7);
result = MAV_RESULT_ACCEPTED;
#endif
break;