diff --git a/FatFs/diskio.h b/FatFs/diskio.h index 29f951e..e4ead78 100644 --- a/FatFs/diskio.h +++ b/FatFs/diskio.h @@ -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); diff --git a/FatFs/ff.c b/FatFs/ff.c index f82d029..7e6cfac 100644 --- a/FatFs/ff.c +++ b/FatFs/ff.c @@ -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) */