Skip to content

Commit

Permalink
Reduce time-based buffering threshold for MAVLink packets
Browse files Browse the repository at this point in the history
  • Loading branch information
MUSTARDTIGERFPV committed Aug 4, 2024
1 parent cb0e4eb commit 80ec6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WIFI/devWIFI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ constexpr size_t MAVLINK_BUF_SIZE = 16;
// Threshold at which we will flush the buffer
constexpr size_t MAVLINK_BUF_THRESHOLD = MAVLINK_BUF_SIZE / 2;
// Timeout for flushing the buffer in ms
constexpr size_t MAVLINK_BUF_TIMEOUT = 500;
constexpr size_t MAVLINK_BUF_TIMEOUT = 100;

WiFiUDP mavlinkUDP;

Expand Down

0 comments on commit 80ec6fb

Please sign in to comment.