[riot-notifications] [RIOT-OS/RIOT] periph_flashpage: Make pagewise API optional (#15412)

Francisco notifications at github.com
Mon Nov 9 18:29:38 CET 2020


@fjmolinas commented on this pull request.



>  
     /* write page */
     if (data != NULL) {
-        flashpage_write_raw(page_addr, data, FLASHPAGE_SIZE);
+        flashpage_write_raw(flashpage_addr(page), data, FLASHPAGE_SIZE);

```suggestion
        flashpage_write(flashpage_addr(page), data, FLASHPAGE_SIZE);
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15412#pullrequestreview-526488475
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201109/34da8334/attachment.htm>


More information about the notifications mailing list