mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
And return -MP_EIO if calling storage_read_block/storage_write_block fails. This lines up with the return type and value (negative for error) of the calls to MICROPY_HW_BDEV_READBLOCKS (and WRITEBLOCKS, and BDEV2 versions).