diff options
author | Damien George <damien.p.george@gmail.com> | 2019-10-29 12:25:30 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-29 14:17:29 +1100 |
commit | cfe1c5abf884027eb0a5792d5a980fee8757051a (patch) | |
tree | b590395b2879d3196e4024fa2c400ca0d42e9079 /extmod/vfs_fat.c | |
parent | 7c8fb27f38b06b5067d913e9d57f87005445601b (diff) |
extmod/vfs: Rename BP_IOCTL_xxx constants to MP_BLOCKDEV_IOCTL_xxx.
Also rename SEC_COUNT to BLOCK_COUNT and SEC_SIZE to BLOCK_SIZE.
Diffstat (limited to 'extmod/vfs_fat.c')
-rw-r--r-- | extmod/vfs_fat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/vfs_fat.c b/extmod/vfs_fat.c index 129b6cc66..f8cb1f5a5 100644 --- a/extmod/vfs_fat.c +++ b/extmod/vfs_fat.c @@ -72,7 +72,7 @@ STATIC mp_obj_t fat_vfs_make_new(const mp_obj_type_t *type, size_t n_args, size_ // Initialise underlying block device vfs->blockdev.flags = MP_BLOCKDEV_FLAG_FREE_OBJ; - vfs->blockdev.block_size = FF_MIN_SS; // default, will be populated by call to BP_IOCTL_SEC_SIZE + vfs->blockdev.block_size = FF_MIN_SS; // default, will be populated by call to MP_BLOCKDEV_IOCTL_BLOCK_SIZE mp_vfs_blockdev_init(&vfs->blockdev, args[0]); // mount the block device so the VFS methods can be used |