diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-03-07 23:29:05 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-03-07 23:29:05 +0400 |
commit | a478dac621301a993fb8ed13b86abd61d93bfec0 (patch) | |
tree | df4a1f580eb76007737f46a4e8c1180f5c57a081 | |
parent | 2ee8cf1cf08095693b168238a311b1caf8df1701 (diff) | |
download | px4-firmware-a478dac621301a993fb8ed13b86abd61d93bfec0.tar.gz px4-firmware-a478dac621301a993fb8ed13b86abd61d93bfec0.tar.bz2 px4-firmware-a478dac621301a993fb8ed13b86abd61d93bfec0.zip |
sdlog2: max write chunk increased to 1024
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 2 |
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"; |