mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 16:33:33 +08:00
Syslink Bridge to Mavlink (#5479)
This commit is contained in:
committed by
Lorenz Meier
parent
446f8e3a36
commit
52fdbf4acc
@@ -986,7 +986,7 @@ Mavlink::send_bytes(const uint8_t *buf, unsigned packet_len)
|
||||
unsigned buf_free = get_free_tx_buf();
|
||||
|
||||
if (buf_free < packet_len) {
|
||||
/* no enough space in buffer to send */
|
||||
/* not enough space in buffer to send */
|
||||
count_txerr();
|
||||
count_txerrbytes(packet_len);
|
||||
pthread_mutex_unlock(&_send_mutex);
|
||||
|
||||
Reference in New Issue
Block a user