Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Fix typo in ff.c (#444) --nobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL authored Nov 6, 2023
2 parents fa41c43 + f18999b commit 9095a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fatfs/ff.c
Original file line number Diff line number Diff line change
Expand Up @@ -3060,7 +3060,7 @@ FRESULT find_volume ( /* FR_OK(0): successful, !=0: any error occurred */
fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */
} while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4);
}
if (fmt == 4) return FR_DISK_ERR; /* An error occured in the disk I/O layer */
if (fmt == 4) return FR_DISK_ERR; /* An error occurred in the disk I/O layer */
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */

/* An FAT volume is found (bsect). Following code initializes the file system object */
Expand Down

0 comments on commit 9095a65

Please sign in to comment.