File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
252
252
{ MP_ROM_QSTR (MP_QSTR_enable_usb_drive ), MP_ROM_PTR (& storage_enable_usb_drive_obj ) },
253
253
254
254
//| class VfsFat:
255
- //| def __init__(self, block_device: str ) -> None:
255
+ //| def __init__(self, block_device: BlockDevice ) -> None:
256
256
//| """Create a new VfsFat filesystem around the given block device.
257
257
//|
258
258
//| :param block_device: Block device the the filesystem lives on"""
@@ -267,7 +267,7 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
267
267
//| ...
268
268
//|
269
269
//| @staticmethod
270
- //| def mkfs(self ) -> None:
270
+ //| def mkfs(block_device: BlockDevice ) -> None:
271
271
//| """Format the block device, deleting any data that may have been there.
272
272
//|
273
273
//| **Limitations**: On SAMD21 builds, `mkfs()` will raise ``OSError(22)`` when
You can’t perform that action at this time.
0 commit comments