sdlog2: max write chunk increased to 1024

This commit is contained in:
Anton Babushkin 2014-03-07 23:29:05 +04:00
parent 2ee8cf1cf0
commit a478dac621

View File

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