Skip to content

Commit a339e31

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents a8ea248 + 550eab2 commit a339e31

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extmod/vfs_fat_diskio.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ STATIC fs_user_mount_t *disk_get_device(void *bdev) {
3434
/*-----------------------------------------------------------------------*/
3535

3636
DRESULT disk_read (
37-
bdev_t pdrv, /* Physical drive nmuber (0..) */
37+
bdev_t pdrv, /* Physical drive */
3838
BYTE *buff, /* Data buffer to store read data */
3939
DWORD sector, /* Sector address (LBA) */
4040
UINT count /* Number of sectors to read (1..128) */
@@ -75,7 +75,7 @@ DRESULT disk_read (
7575
/*-----------------------------------------------------------------------*/
7676

7777
DRESULT disk_write (
78-
bdev_t pdrv, /* Physical drive nmuber (0..) */
78+
bdev_t pdrv, /* Physical drive */
7979
const BYTE *buff, /* Data to be written */
8080
DWORD sector, /* Sector address (LBA) */
8181
UINT count /* Number of sectors to write (1..128) */
@@ -122,7 +122,7 @@ DRESULT disk_write (
122122
/*-----------------------------------------------------------------------*/
123123

124124
DRESULT disk_ioctl (
125-
bdev_t pdrv, /* Physical drive nmuber (0..) */
125+
bdev_t pdrv, /* Physical drive */
126126
BYTE cmd, /* Control code */
127127
void *buff /* Buffer to send/receive control data */
128128
)

0 commit comments

Comments
 (0)