mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
explaining why we send 30 bytes crtp msg data instead of 31
This commit is contained in:
parent
7ac3c97aad
commit
d025eb0da0
@ -51,7 +51,8 @@ SyslinkBridge::SyslinkBridge(Syslink *link) :
|
||||
_msg_to_send.header = 0;
|
||||
_msg_to_send.size = sizeof(_msg_to_send.header);
|
||||
_msg_to_send.port = CRTP_PORT_MAVLINK;
|
||||
_msg_to_send_size_remaining = CRTP_MAX_DATA_SIZE - 1;
|
||||
_msg_to_send_size_remaining = CRTP_MAX_DATA_SIZE - 1; // to send 30 bytes of data
|
||||
//ideally _msg_to_send.data size should be CRTP_MAX_DATA_SIZE but cfbridge does not receive 31 bytes of data due to a bug somewhere
|
||||
}
|
||||
|
||||
SyslinkBridge::~SyslinkBridge()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user