mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 20:00:38 +08:00
Merge pull request #651 from MarSoft/fix-logging
Fix logging from littlefs_esp32_filesystem Good catch thank you
This commit is contained in:
commit
25b49197f3
@ -239,14 +239,14 @@ ESP_File::ESP_File(void* handle, bool isdir, bool iswritemode, const char * path
|
|||||||
set = true;
|
set = true;
|
||||||
} else {
|
} else {
|
||||||
log_esp3d("File %d busy", i);
|
log_esp3d("File %d busy", i);
|
||||||
log_esp3d(tFile_handle[i].name());
|
log_esp3d("%s", tFile_handle[i].name());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!set) {
|
if(!set) {
|
||||||
log_esp3d("No handle available");
|
log_esp3d("No handle available");
|
||||||
#if defined(ESP_DEBUG_FEATURE)
|
#if defined(ESP_DEBUG_FEATURE)
|
||||||
for (uint8_t i=0; (i < ESP_MAX_OPENHANDLE) ; i++) {
|
for (uint8_t i=0; (i < ESP_MAX_OPENHANDLE) ; i++) {
|
||||||
log_esp3d(tFile_handle[i].name());
|
log_esp3d("%s", tFile_handle[i].name());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user