[riot-notifications] [RIOT-OS/RIOT] mtd: Change API to return 0 on success (#13896)
notifications at github.com
Sat May 2 22:43:17 CEST 2020
While discussing the MTD API, I noticed another problem.
`.read()`, `.write()` and `.erase()` all take a `uint32_t addr` - this will break for any address > 4GiB. It's pretty hard to get SD cards smaller than that these days…
We could just make that 64 bit or change it into `write(sector, offset)` - the latter one would match how this is used by the file systems.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications