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:
Beat Küng
2017-05-12 14:39:25 +02:00
committed by Lorenz Meier
parent a89980f440
commit 2a79ddd621

View File

@@ -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