Skip to content

[vfs_fat_diskio] pdrv is not a drive number since f5f4cdae89 #4391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions extmod/vfs_fat_diskio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down Expand Up @@ -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) */
Expand Down Expand Up @@ -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 */
)
Expand Down