From e5810ab7c77b0a478b64287bc5eba502229c1e82 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 28 Jul 2016 23:14:43 -0700 Subject: [PATCH] FatFs: Remove (deprecated?) _USE_WRITE, _USE_IOCTL guards. --- .../os/various/fatfs_bindings/fatfs_diskio.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/firmware/chibios-portapack/os/various/fatfs_bindings/fatfs_diskio.c b/firmware/chibios-portapack/os/various/fatfs_bindings/fatfs_diskio.c index d6cd3b1f..862f27e6 100755 --- a/firmware/chibios-portapack/os/various/fatfs_bindings/fatfs_diskio.c +++ b/firmware/chibios-portapack/os/various/fatfs_bindings/fatfs_diskio.c @@ -153,7 +153,6 @@ DRESULT disk_read ( /* Write Sector(s) */ /*-----------------------------------------------------------------------*/ -#if _USE_WRITE DRESULT disk_write ( BYTE pdrv, /* Physical drive nmuber to identify the drive */ const BYTE *buff, /* Data to be written */ @@ -190,7 +189,6 @@ DRESULT disk_write ( } return RES_PARERR; } -#endif /* _READONLY */ @@ -198,7 +196,6 @@ DRESULT disk_write ( /* Miscellaneous Functions */ /*-----------------------------------------------------------------------*/ -#if _USE_IOCTL DRESULT disk_ioctl ( BYTE pdrv, /* Physical drive nmuber (0..) */ BYTE cmd, /* Control code */ @@ -260,7 +257,6 @@ DRESULT disk_ioctl ( } return RES_PARERR; } -#endif /* _IOCTL */ DWORD get_fattime(void) { #if HAL_USE_RTC