fatfs v0.04b May 05, 2007:

- Added _USE_NTFLAG option.
- Added FSInfo support.
- Fixed some problems corresponds to FAT32. (Tiny-FatFs)
- Fixed DBCS name can result FR_INVALID_NAME.
- Fixed short seek (<= csize) collapses the file object.
This commit is contained in:
savelij13 committed 2025-09-11 09:08:31 +03:00
1 parent 8e92305484
commit c0c10d0bea
21 files changed
+492 -307

No files matched your search

+4 -4
View File
@@ -64,13 +64,13 @@ void scan_files (char* path)
if (f_opendir(&dirs, path) == FR_OK) {
i = strlen(path);
while ((f_readdir(&dirs, &finfo) == FR_OK) && finfo.f_name[0]) {
if (finfo.f_attrib & AM_DIR) {
sprintf(path+i, "/%s", &finfo.f_name[0]);
while ((f_readdir(&dirs, &finfo) == FR_OK) && finfo.fname[0]) {
if (finfo.fattrib & AM_DIR) {
sprintf(path+i, "/%s", &finfo.fname[0]);
scan_files(path);
*(path+i) = '\0';
} else {
printf("%s/%s\n", path, &finfo.f_name[0]);
printf("%s/%s\n", path, &finfo.fname[0]);
}
}
}