From 8265c321f6d94c8322db604d73e49b4746f40a95 Mon Sep 17 00:00:00 2001 From: Artyom Skrobov Date: Fri, 12 Mar 2021 10:01:14 -0500 Subject: [PATCH] [vfs_fat_diskio] pdrv is not a drive number since f5f4cdae89 --- extmod/vfs_fat_diskio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extmod/vfs_fat_diskio.c b/extmod/vfs_fat_diskio.c index 432c03b7c9..127b77d7dd 100644 --- a/extmod/vfs_fat_diskio.c +++ b/extmod/vfs_fat_diskio.c @@ -34,7 +34,7 @@ STATIC fs_user_mount_t *disk_get_device(void *bdev) { /*-----------------------------------------------------------------------*/ DRESULT disk_read ( - bdev_t pdrv, /* Physical drive nmuber (0..) */ + bdev_t pdrv, /* Physical drive */ BYTE *buff, /* Data buffer to store read data */ DWORD sector, /* Sector address (LBA) */ UINT count /* Number of sectors to read (1..128) */ @@ -75,7 +75,7 @@ DRESULT disk_read ( /*-----------------------------------------------------------------------*/ DRESULT disk_write ( - bdev_t pdrv, /* Physical drive nmuber (0..) */ + bdev_t pdrv, /* Physical drive */ const BYTE *buff, /* Data to be written */ DWORD sector, /* Sector address (LBA) */ UINT count /* Number of sectors to write (1..128) */ @@ -122,7 +122,7 @@ DRESULT disk_write ( /*-----------------------------------------------------------------------*/ DRESULT disk_ioctl ( - bdev_t pdrv, /* Physical drive nmuber (0..) */ + bdev_t pdrv, /* Physical drive */ BYTE cmd, /* Control code */ void *buff /* Buffer to send/receive control data */ )