[riot-notifications] [RIOT-OS/RIOT] drivers/mrd_spi_nor: fix read spanning pages (#11081)

Vincent Dupont notifications at github.com
Thu Feb 28 15:15:51 CET 2019

### Contribution description

mtd_read() has no limitations regarding page boundaries.
mtd_spi_nor_read() was limiting size to the page_size which was wrong.
This removes the wrong check and adds a unittest.

### Testing procedure

Run tests-mtd unittest

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * drivers/mrd_spi_nor: fix read spanning pages

-- File Changes --

    M drivers/mtd_spi_nor/mtd_spi_nor.c (8)
    M tests/unittests/tests-mtd/tests-mtd.c (16)

-- Patch Links --


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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190228/e3eb8a13/attachment.html>

More information about the notifications mailing list