aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-03-07 23:29:05 +0400
committerAnton Babushkin <anton.babushkin@me.com>2014-03-07 23:29:05 +0400
commita478dac621301a993fb8ed13b86abd61d93bfec0 (patch)
treedf4a1f580eb76007737f46a4e8c1180f5c57a081 /src
parent2ee8cf1cf08095693b168238a311b1caf8df1701 (diff)
downloadpx4-firmware-a478dac621301a993fb8ed13b86abd61d93bfec0.tar.gz
px4-firmware-a478dac621301a993fb8ed13b86abd61d93bfec0.tar.bz2
px4-firmware-a478dac621301a993fb8ed13b86abd61d93bfec0.zip
sdlog2: max write chunk increased to 1024
Diffstat (limited to 'src')
-rw-r--r--src/modules/sdlog2/sdlog2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c
index 58890322b..d21338376 100644
--- a/src/modules/sdlog2/sdlog2.c
+++ b/src/modules/sdlog2/sdlog2.c
@@ -110,7 +110,7 @@ static bool logwriter_should_exit = false; /**< Logwriter thread exit flag */
static const int MAX_NO_LOGFOLDER = 999; /**< Maximum number of log dirs */
static const int MAX_NO_LOGFILE = 999; /**< Maximum number of log files */
static const int LOG_BUFFER_SIZE_DEFAULT = 8192;
-static const int MAX_WRITE_CHUNK = 512;
+static const int MAX_WRITE_CHUNK = 1024;
static const int MIN_BYTES_TO_WRITE = 512;
static const char *log_root = "/fs/microsd/log";