diff options
author | Leo C. | 2024-06-30 15:18:24 +0200 |
---|---|---|
committer | Leo C. | 2024-06-30 15:18:24 +0200 |
commit | 7aaec0f97677b451e024ef5d1cd2b675a914d440 (patch) | |
tree | e4c9711b2e8522825be34af52be3b73636f37728 /avr | |
parent | 08749e4051ac14c6e9a2d85a37b3efdcedbb07f6 (diff) | |
download | z180-stamp-7aaec0f97677b451e024ef5d1cd2b675a914d440.zip |
Adaptions for fatfs R0.15
Diffstat (limited to 'avr')
-rw-r--r-- | avr/cmd_sd.c | 1 | ||||
-rw-r--r-- | avr/mmc.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/avr/cmd_sd.c b/avr/cmd_sd.c index 344a197..440bfd4 100644 --- a/avr/cmd_sd.c +++ b/avr/cmd_sd.c @@ -7,7 +7,6 @@ #include "cmd_sd.h" #include "diskio.h" -#include "ff.h" #include "eval_arg.h" #include "print-utils.h" #include "z80-if.h" @@ -292,7 +292,6 @@ UINT btr /* Byte count (must be multiple of 4) */ /* Send a data packet to MMC */ /*-----------------------------------------------------------------------*/ -#if _USE_WRITE static int xmit_datablock ( const BYTE *buff, /* 512 byte data block to be transmitted */ @@ -322,7 +321,6 @@ int xmit_datablock ( spi_wait(); return 1; } -#endif /* _USE_WRITE */ /*-----------------------------------------------------------------------*/ /* Send a command packet to MMC */ @@ -584,7 +582,6 @@ DRESULT disk_read ( /* Write Sector(s) */ /*-----------------------------------------------------------------------*/ -#if _USE_WRITE DRESULT disk_write ( BYTE drv, /* Physical drive nmuber (0) */ const BYTE *buff, /* Pointer to the data to be written */ @@ -630,13 +627,11 @@ DRESULT disk_write ( return count ? RES_ERROR : RES_OK; } -#endif /* _USE_WRITE */ /*-----------------------------------------------------------------------*/ /* Miscellaneous Functions */ /*-----------------------------------------------------------------------*/ -#if _USE_IOCTL DRESULT disk_ioctl ( BYTE drv, /* Physical drive nmuber (0) */ BYTE cmd, /* Control code */ @@ -748,7 +743,6 @@ DRESULT disk_ioctl ( return res; } -#endif /* _USE_IOCTL */ /*-----------------------------------------------------------------------*/ /* Device Timer Interrupt Procedure (Platform dependent) */ |