diff options
author | Angus Gratton <angus@redyak.com.au> | 2024-09-04 15:19:20 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-09-26 22:08:48 +1000 |
commit | f4ab9d924790581989f2398fe30bbac5d680577f (patch) | |
tree | e9ae7d243a891dbed84abe278f61941a503c4f14 /docs/esp8266/tutorial/network_basics.rst | |
parent | 4f6d4b2b498b0555c3b27eba2fa4e212468e1450 (diff) | |
download | micropython-f4ab9d924790581989f2398fe30bbac5d680577f.tar.gz micropython-f4ab9d924790581989f2398fe30bbac5d680577f.zip |
extmod/vfs_blockdev: Implement common helper for read and write.
- Code size saving as all of these functions are very similar.
- Resolves the "TODO" of the plain read and write functions not propagating
errors. An error in the underlying block device now causes VFatFs to
return EIO, for example.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'docs/esp8266/tutorial/network_basics.rst')
0 files changed, 0 insertions, 0 deletions