From 67ad24805d60f965af94d13c81682c6b749159b6 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 24 Aug 2023 09:22:21 +0900 Subject: [PATCH] AP_Mount: Siyi displays zoom version --- libraries/AP_Mount/AP_Mount_Siyi.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libraries/AP_Mount/AP_Mount_Siyi.cpp b/libraries/AP_Mount/AP_Mount_Siyi.cpp index 99e9d47877f224..37092a2e95cb56 100644 --- a/libraries/AP_Mount/AP_Mount_Siyi.cpp +++ b/libraries/AP_Mount/AP_Mount_Siyi.cpp @@ -340,15 +340,13 @@ void AP_Mount_Siyi::process_packet() (unsigned)_msg_buff[_msg_buff_data_start+5], // firmware minor version (unsigned)_msg_buff[_msg_buff_data_start+4]); // firmware revision - // display zoom firmware version -#if AP_MOUNT_SIYI_DEBUG + // display zoom firmware version for those that have it if (_parsed_msg.data_bytes_received >= 12) { - debug("Mount: SiyiZoom fw:%u.%u.%u", + gcs().send_text(MAV_SEVERITY_INFO, "Mount: SiyiZoom fw:%u.%u.%u", (unsigned)_msg_buff[_msg_buff_data_start+10], // firmware major version (unsigned)_msg_buff[_msg_buff_data_start+9], // firmware minor version (unsigned)_msg_buff[_msg_buff_data_start+8]); // firmware revision } -#endif break; }