diff options
author | Damien George <damien.p.george@gmail.com> | 2019-11-21 16:11:59 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-11-26 00:08:57 +1100 |
commit | d8057c325a63d87b3e37cf4a6cdb04cb4eeba124 (patch) | |
tree | 7432c4232ea1980b4341d5df7726201b6a11c713 /docs/esp8266 | |
parent | 120368ba1ab444b2f1c17d1eb69bc6f09072ec5d (diff) | |
download | micropython-d8057c325a63d87b3e37cf4a6cdb04cb4eeba124.tar.gz micropython-d8057c325a63d87b3e37cf4a6cdb04cb4eeba124.zip |
stm32/storage: Change storage_read/write_blocks to return int type.
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).
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions