Skip to content

Commit

Permalink
Applied patch 3 to verson 0.15 of FatFs (but it doesn't affect RRF)
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Feb 28, 2024
1 parent 8a525ae commit cd99b44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Libraries/Fatfs/ff.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------/
/ FatFs - Generic FAT Filesystem Module R0.15 w/patch2 /
/ FatFs - Generic FAT Filesystem Module R0.15 w/patch3 /
/-----------------------------------------------------------------------------/
/
/ Copyright (C) 2022, ChaN, all right reserved.
Expand Down Expand Up @@ -5515,6 +5515,10 @@ FRESULT f_setlabel (
/* Get logical drive */
res = mount_volume(&label, &fs, FA_WRITE);
if (res != FR_OK) LEAVE_FF(fs, res);
#if FF_STR_VOLUME_ID == 2
for ( ; *label == '/'; label++) ; /* Snip the separators off */
#endif


#if FF_FS_EXFAT
if (fs->fs_type == FS_EXFAT) { /* On the exFAT volume */
Expand Down

0 comments on commit cd99b44

Please sign in to comment.