Skip to content

Commit 15e2385

Browse files
Reduce time-based buffering threshold for MAVLink packets (#148)
* Reduce time-based buffering threshold for MAVLink packets * Update change
1 parent 74552f5 commit 15e2385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/MAVLink/MAVLink.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ constexpr size_t MAVLINK_BUF_SIZE = 16;
1010
// Threshold at which we will flush the buffer
1111
constexpr size_t MAVLINK_BUF_THRESHOLD = MAVLINK_BUF_SIZE / 2;
1212
// Timeout for flushing the buffer in ms
13-
constexpr size_t MAVLINK_BUF_TIMEOUT = 500;
13+
constexpr size_t MAVLINK_BUF_TIMEOUT = 100;
1414

1515
typedef struct {
1616
uint32_t packets_downlink; // packets from the aircraft

0 commit comments

Comments
 (0)