We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a3ccab commit cd2a38cCopy full SHA for cd2a38c
subsys/logging/backends/log_backend_fs.c
@@ -367,7 +367,7 @@ static int allocate_new_file(struct fs_file_t *file)
367
* is not exceeded.
368
*/
369
while ((file_ctr >= CONFIG_LOG_BACKEND_FS_FILES_LIMIT) ||
370
- ((stat.f_bfree * stat.f_frsize) <=
+ ((stat.f_bfree * stat.f_frsize) <
371
CONFIG_LOG_BACKEND_FS_FILE_SIZE)) {
372
373
if (IS_ENABLED(CONFIG_LOG_BACKEND_FS_OVERWRITE)) {
0 commit comments