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
2 changes: 1 addition & 1 deletion circuitpython_typing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def ioctl(self, operation: int, arg: Optional[int] = None) -> Optional[int]:
* 3 - sync the device (``arg`` is unused)
* 4 - get a count of the number of blocks, should return an integer (``arg`` is unused)
* 5 - get the number of bytes in a block, should return an integer,
or ``None`` in which case the default value of 512 is used (``arg`` is unused)
or ``None`` in which case the default value of 512 is used (``arg`` is unused)
* 6 - erase a block, arg is the block number to erase

As a minimum ``ioctl(4, ...)`` must be intercepted; for littlefs ``ioctl(6, ...)``
Expand Down