mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 02:51:36 +08:00
sdlog2: max write chunk increased to 1024
This commit is contained in:
@@ -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_LOGFOLDER = 999; /**< Maximum number of log dirs */
|
||||||
static const int MAX_NO_LOGFILE = 999; /**< Maximum number of log files */
|
static const int MAX_NO_LOGFILE = 999; /**< Maximum number of log files */
|
||||||
static const int LOG_BUFFER_SIZE_DEFAULT = 8192;
|
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 int MIN_BYTES_TO_WRITE = 512;
|
||||||
|
|
||||||
static const char *log_root = "/fs/microsd/log";
|
static const char *log_root = "/fs/microsd/log";
|
||||||
|
|||||||
Reference in New Issue
Block a user