mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
Use original fatFS lib
This commit is contained in:
parent
e2f2b58925
commit
a0ac128406
|
|
@ -30,8 +30,6 @@ DSTATUS disk_initialize (BYTE pdrv);
|
||||||
DSTATUS disk_status (BYTE pdrv);
|
DSTATUS disk_status (BYTE pdrv);
|
||||||
DRESULT disk_read (BYTE pdrv, BYTE* buff, LBA_t sector, UINT count);
|
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_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);
|
DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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; val >>= 8;
|
||||||
*ptr++ = (BYTE)val;
|
*ptr++ = (BYTE)val;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
#endif /* !FF_FS_READONLY */
|
#endif /* !FF_FS_READONLY */
|
||||||
|
|
||||||
#endif
|
#endif /* _WORD_ACCESS */
|
||||||
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------*/
|
||||||
/* String functions */
|
/* 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 */
|
return 2; /* Valid BS but not FAT */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Find an FAT volume */
|
/* Find an FAT volume */
|
||||||
/* (It supports only generic partitioning rules, MBR, GPT and SFD) */
|
/* (It supports only generic partitioning rules, MBR, GPT and SFD) */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue