AP_Logger: removed annoying message on missing logs

This commit is contained in:
Andrew Tridgell 2022-04-18 21:18:03 +10:00 committed by Randy Mackay
parent 43f1a11a5b
commit c6240312cc

View File

@ -542,9 +542,6 @@ uint32_t AP_Logger_File::_get_log_size(const uint16_t log_num)
struct stat st;
EXPECT_DELAY_MS(3000);
if (AP::FS().stat(fname, &st) != 0) {
if (_open_error_ms == 0) {
printf("Unable to fetch Log File Size (%s): %s\n", fname, strerror(errno));
}
free(fname);
return 0;
}