mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 13:30:39 +08:00
Fix logging from littlefs_esp32_filesystem
The log_esp3d macro expects string literal as its first argument.
This commit is contained in:
parent
7aeaee8236
commit
0da1baf678
@ -239,14 +239,14 @@ ESP_File::ESP_File(void* handle, bool isdir, bool iswritemode, const char * path
|
||||
set = true;
|
||||
} else {
|
||||
log_esp3d("File %d busy", i);
|
||||
log_esp3d(tFile_handle[i].name());
|
||||
log_esp3d("%s", tFile_handle[i].name());
|
||||
}
|
||||
}
|
||||
if(!set) {
|
||||
log_esp3d("No handle available");
|
||||
#if defined(ESP_DEBUG_FEATURE)
|
||||
for (uint8_t i=0; (i < ESP_MAX_OPENHANDLE) ; i++) {
|
||||
log_esp3d(tFile_handle[i].name());
|
||||
log_esp3d("%s", tFile_handle[i].name());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user