From e6e217c1c96b28a16ab2b9b0c1760d23d5936f84 Mon Sep 17 00:00:00 2001 From: davidsastresas Date: Wed, 19 Jul 2023 15:50:37 +0200 Subject: [PATCH] AP_Mount: Viewpro sends gimbal_device_id in camera_information --- libraries/AP_Mount/AP_Mount_Viewpro.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Mount/AP_Mount_Viewpro.cpp b/libraries/AP_Mount/AP_Mount_Viewpro.cpp index 7144d6ded44501..b58ca0fcdf4e58 100644 --- a/libraries/AP_Mount/AP_Mount_Viewpro.cpp +++ b/libraries/AP_Mount/AP_Mount_Viewpro.cpp @@ -889,7 +889,8 @@ void AP_Mount_Viewpro::send_camera_information(mavlink_channel_t chan) const 0, // lens_id uint8_t flags, // flags uint32_t (CAMERA_CAP_FLAGS) 0, // cam_definition_version uint16_t - cam_definition_uri); // cam_definition_uri char[140] + cam_definition_uri, // cam_definition_uri char[140] + _instance + 1); // gimbal_device_id uint8_t } // send camera settings message to GCS