mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
MAVLink app: Only hold buffers for published topics
This commit is contained in:
@@ -337,7 +337,7 @@ void
|
||||
Mavlink::set_proto_version(unsigned version)
|
||||
{
|
||||
if ((version == 1 || version == 0) &&
|
||||
((_protocol_version_switch == 0) || (_protocol_version_switch == 1))) {
|
||||
((_protocol_version_switch == 0) || (_protocol_version_switch == 1))) {
|
||||
get_status()->flags |= MAVLINK_STATUS_FLAG_OUT_MAVLINK1;
|
||||
_protocol_version = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user