Skip to content
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
4 changes: 2 additions & 2 deletions shared-bindings/storage/__init__.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_enable_usb_drive), MP_ROM_PTR(&storage_enable_usb_drive_obj) },

//| class VfsFat:
//| def __init__(self, block_device: str) -> None:
//| def __init__(self, block_device: BlockDevice) -> None:
//| """Create a new VfsFat filesystem around the given block device.
//|
//| :param block_device: Block device the the filesystem lives on"""
Expand All @@ -267,7 +267,7 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
//| ...
//|
//| @staticmethod
//| def mkfs(self) -> None:
//| def mkfs(block_device: BlockDevice) -> None:
//| """Format the block device, deleting any data that may have been there.
//|
//| **Limitations**: On SAMD21 builds, `mkfs()` will raise ``OSError(22)`` when
Expand Down