diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-03-07 23:36:07 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-03-07 23:36:07 +0400 |
commit | aca6806b82b8ee201260a9e383879b6d821dba1a (patch) | |
tree | c21315a5ec43b269d6a9b4843b6b13b6c2107de5 /src/modules/sdlog2 | |
parent | a478dac621301a993fb8ed13b86abd61d93bfec0 (diff) | |
download | px4-firmware-aca6806b82b8ee201260a9e383879b6d821dba1a.tar.gz px4-firmware-aca6806b82b8ee201260a9e383879b6d821dba1a.tar.bz2 px4-firmware-aca6806b82b8ee201260a9e383879b6d821dba1a.zip |
Revert "sdlog2: max write chunk increased to 1024"
This reverts commit a478dac621301a993fb8ed13b86abd61d93bfec0.
Diffstat (limited to 'src/modules/sdlog2')
-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 d21338376..58890322b 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 = 1024; +static const int MAX_WRITE_CHUNK = 512; static const int MIN_BYTES_TO_WRITE = 512; static const char *log_root = "/fs/microsd/log"; |