summaryrefslogtreecommitdiff
path: root/extmod
diff options
context:
space:
mode:
authorArtyom Skrobov <tyomitch@gmail.com>2021-03-12 10:01:14 -0500
committerArtyom Skrobov <tyomitch@gmail.com>2021-03-12 10:01:14 -0500
commit8265c321f6d94c8322db604d73e49b4746f40a95 (patch)
treede3705f64edf12cd01d7f3270faa1683779a366d /extmod
parent73139102fc69b912c3961699e2682be1d687813d (diff)
[vfs_fat_diskio] pdrv is not a drive number since f5f4cdae89
Diffstat (limited to 'extmod')
-rw-r--r--extmod/vfs_fat_diskio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/extmod/vfs_fat_diskio.c b/extmod/vfs_fat_diskio.c
index 432c03b7c..127b77d7d 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 */
)