mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 14:20:36 +08:00
logger: start session & log index at 100
To avoid leading zeros, as the events interface does not support that (yet)
This commit is contained in:
@@ -1290,7 +1290,7 @@ int Logger::get_log_file_name(LogType type, char *file_name, size_t file_name_si
|
||||
return -1;
|
||||
}
|
||||
|
||||
uint16_t file_number = 1; // start with file log001
|
||||
uint16_t file_number = 100; // start with file log100
|
||||
|
||||
/* look for the next file that does not exist */
|
||||
while (file_number <= MAX_NO_LOGFILE) {
|
||||
|
||||
Reference in New Issue
Block a user