mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Mount: Siyi displays zoom version
This commit is contained in:
parent
9a5acec243
commit
74fa07ae13
@ -338,15 +338,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+5], // firmware minor version
|
||||||
(unsigned)_msg_buff[_msg_buff_data_start+4]); // firmware revision
|
(unsigned)_msg_buff[_msg_buff_data_start+4]); // firmware revision
|
||||||
|
|
||||||
// display zoom firmware version
|
// display zoom firmware version for those that have it
|
||||||
#if AP_MOUNT_SIYI_DEBUG
|
|
||||||
if (_parsed_msg.data_bytes_received >= 12) {
|
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+10], // firmware major version
|
||||||
(unsigned)_msg_buff[_msg_buff_data_start+9], // firmware minor version
|
(unsigned)_msg_buff[_msg_buff_data_start+9], // firmware minor version
|
||||||
(unsigned)_msg_buff[_msg_buff_data_start+8]); // firmware revision
|
(unsigned)_msg_buff[_msg_buff_data_start+8]); // firmware revision
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user