FatFS R0.10b, released May 19, 2014

This commit is contained in:
Christopher Williams
2015-01-31 09:24:04 -07:00
parent 935031e4e5
commit 762b341574
75 changed files with 812 additions and 704 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ FRESULT empty_directory (
FILINFO fno;
#if _USE_LFN
fno.lfname = 0; /* Eliminate LFN output */
fno.lfname = 0; /* Disable LFN output */
#endif
fr = f_opendir(&dir, path);
if (fr == FR_OK) {
@@ -23,7 +23,7 @@ FRESULT empty_directory (
for (;;) {
fr = f_readdir(&dir, &fno);
if (fr != FR_OK || !fno.fname[0]) break;
if (fno.fname[0] == '.') continue;
if (_FS_RPATH && fno.fname[0] == '.') continue;
j = 0;
do
path[i+j] = fno.fname[j];
@@ -59,7 +59,7 @@ int main (void)
if (fr) {
printf("Function failed. (%u)\n", fr);
return 1;
return fr;
} else {
printf("All contents in the %s are successfully removed.\n", buff);
return 0;
+1 -1
View File
@@ -6,7 +6,7 @@
/ If the file has been opened without FA_WRITE flag, it only checks if
/ the file is contiguous and returns the resulut. */
#if _FATFS != 29000 /* Check if R0.10a */
#if _FATFS != 8051 /* Check if R0.10b */
#error This function may not be compatible with this revision of FatFs module.
#endif
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB