fatfs v0.05 Aug 25, 2007:

- Changed arguments of f_read, f_write.
- Changed arguments of f_mkfs. (FatFs)
- Fixed f_mkfs on FAT32 creates incorrect FSInfo. (FatFs)
- Fixed f_mkdir on FAT32 creates incorrect directory. (FatFs)
This commit is contained in:
savelij13 committed 2025-09-11 09:10:56 +03:00
1 parent c0c10d0bea
commit 36c173e705
34 files changed
+461 -225

No files matched your search

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