Use original fatFS lib

This commit is contained in:
DiSlord 2020-06-28 18:17:13 +03:00
parent e2f2b58925
commit a0ac128406
2 changed files with 3 additions and 4 deletions

View file

@ -30,8 +30,6 @@ DSTATUS disk_initialize (BYTE pdrv);
DSTATUS disk_status (BYTE pdrv);
DRESULT disk_read (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count);
DRESULT disk_write (BYTE pdrv, const BYTE* buff, LBA_t sector, UINT count);
DRESULT disk_sync (BYTE pdrv);
DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);

View file

@ -684,11 +684,11 @@ static void st_qword (BYTE* ptr, QWORD val) /* Store an 8-byte word in little-en
*ptr++ = (BYTE)val; val >>= 8;
*ptr++ = (BYTE)val;
}
#endif
#endif /* !FF_FS_READONLY */
#endif
#endif /* _WORD_ACCESS */
/*-----------------------------------------------------------------------*/
/* String functions */
@ -3323,6 +3323,7 @@ static UINT check_fs ( /* 0:FAT VBR, 1:exFAT VBR, 2:Valid BS but not FAT, 3:Inva
return 2; /* Valid BS but not FAT */
}
/* Find an FAT volume */
/* (It supports only generic partitioning rules, MBR, GPT and SFD) */