diff options
| author | Romain Reignier <rom.reignier@gmail.com> | 2018-03-12 21:13:46 +0100 | 
|---|---|---|
| committer | Romain Reignier <rom.reignier@gmail.com> | 2018-03-12 21:20:32 +0100 | 
| commit | 3a9593e6d8c7fadf46b446946f4312f4a98a6914 (patch) | |
| tree | 4e9a5adc5c2ce79452bc97c771c3904a58859ce4 | |
| parent | e1e6f874816be7f5d47629df7fbc407f0da6625d (diff) | |
| download | ChibiOS-Contrib-3a9593e6d8c7fadf46b446946f4312f4a98a6914.tar.gz ChibiOS-Contrib-3a9593e6d8c7fadf46b446946f4312f4a98a6914.tar.bz2 ChibiOS-Contrib-3a9593e6d8c7fadf46b446946f4312f4a98a6914.zip | |
fatfs: update to latest ChibiOS changes
| -rw-r--r-- | os/various/fatfs_bindings/fatfs.mk | 2 | ||||
| -rw-r--r-- | os/various/fatfs_bindings/fatfs_diskio.c | 20 | 
2 files changed, 11 insertions, 11 deletions
| diff --git a/os/various/fatfs_bindings/fatfs.mk b/os/various/fatfs_bindings/fatfs.mk index 238037e..f2feeb5 100644 --- a/os/various/fatfs_bindings/fatfs.mk +++ b/os/various/fatfs_bindings/fatfs.mk @@ -2,6 +2,6 @@  FATFSSRC = ${CHIBIOS_CONTRIB}/os/various/fatfs_bindings/fatfs_diskio.c \             ${CHIBIOS}/os/various/fatfs_bindings/fatfs_syscall.c \             ${CHIBIOS}/ext/fatfs/src/ff.c \ -           ${CHIBIOS}/ext/fatfs/src/option/unicode.c +           $(CHIBIOS)/ext/fatfs/src/ffunicode.c  FATFSINC = ${CHIBIOS}/ext/fatfs/src diff --git a/os/various/fatfs_bindings/fatfs_diskio.c b/os/various/fatfs_bindings/fatfs_diskio.c index 9fa41e2..80d1502 100644 --- a/os/various/fatfs_bindings/fatfs_diskio.c +++ b/os/various/fatfs_bindings/fatfs_diskio.c @@ -89,7 +89,7 @@ DSTATUS disk_initialize (  /* Return Disk Status                                                    */  DSTATUS disk_status ( -    BYTE pdrv        /* Physical drive nmuber (0..) */ +    BYTE pdrv         /* Physical drive number (0..) */  )  {    DSTATUS stat; @@ -132,9 +132,9 @@ DSTATUS disk_status (  /* Read Sector(s)                                                        */  DRESULT disk_read ( -    BYTE pdrv,        /* Physical drive nmuber (0..) */ -    BYTE *buff,        /* Data buffer to store read data */ -    DWORD sector,    /* Sector address (LBA) */ +    BYTE pdrv,        /* Physical drive number (0..) */ +    BYTE *buff,       /* Data buffer to store read data */ +    DWORD sector,     /* Sector address (LBA) */      UINT count        /* Number of sectors to read (1..255) */  )  { @@ -181,10 +181,10 @@ DRESULT disk_read (  /* Write Sector(s)                                                       */  DRESULT disk_write ( -    BYTE pdrv,            /* Physical drive nmuber (0..) */ -    const BYTE *buff,    /* Data to be written */ -    DWORD sector,        /* Sector address (LBA) */ -    UINT count            /* Number of sectors to write (1..255) */ +    BYTE pdrv,        /* Physical drive number (0..) */ +    const BYTE *buff, /* Data to be written */ +    DWORD sector,     /* Sector address (LBA) */ +    UINT count        /* Number of sectors to write (1..255) */  )  {    switch (pdrv) { @@ -232,8 +232,8 @@ DRESULT disk_write (  /* Miscellaneous Functions                                               */  DRESULT disk_ioctl ( -    BYTE pdrv,        /* Physical drive nmuber (0..) */ -    BYTE cmd,        /* Control code */ +    BYTE pdrv,        /* Physical drive number (0..) */ +    BYTE cmd,         /* Control code */      void *buff        /* Buffer to send/receive control data */  )  { | 
