mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-13 02:50:35 +08:00
MavlinkLogHandler: increase MAX_BYTES_SEND to 256kb
It increases the throughput on UDP (from around 2Mb to 2.5Mb), while the rate via USB & telemetry stay the same.
This commit is contained in:
@@ -133,7 +133,7 @@ void
|
||||
MavlinkLogHandler::send(const hrt_abstime /*t*/)
|
||||
{
|
||||
//-- An arbitrary count of max bytes in one go (one of the two below but never both)
|
||||
#define MAX_BYTES_SEND 64 * 1024
|
||||
#define MAX_BYTES_SEND 256 * 1024
|
||||
size_t count = 0;
|
||||
|
||||
//-- Log Entries
|
||||
|
||||
Reference in New Issue
Block a user