From 772dc302b6c5036b9de5374e4f4e611b1c900724 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 7 Jul 2016 11:47:08 +0200 Subject: [PATCH] sdlog2: raise min write size back Turns out in practice there was not really a difference, so there was no reason to change it. --- src/modules/sdlog2/sdlog2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index 6a8891e342..be2b3a810f 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -147,10 +147,10 @@ static const int LOG_BUFFER_SIZE_DEFAULT = 8192; #if defined __PX4_POSIX static const int MAX_WRITE_CHUNK = 2048; -static const int MIN_BYTES_TO_WRITE = 256; +static const int MIN_BYTES_TO_WRITE = 512; #else static const int MAX_WRITE_CHUNK = 512; -static const int MIN_BYTES_TO_WRITE = 256; +static const int MIN_BYTES_TO_WRITE = 512; #endif static bool _extended_logging = false;