[riot-notifications] [RIOT-OS/RIOT] mtd_mapper: count offset in sectors (#14045)

benpicco notifications at github.com
Tue May 12 12:02:15 CEST 2020


@benpicco commented on this pull request.



> @@ -96,7 +96,7 @@ typedef struct {
 typedef struct {
     mtd_dev_t mtd;                  /**< MTD context                         */
     mtd_mapper_parent_t *parent;    /**< MTD mapper parent device            */
-    uint32_t offset;                /**< Offset address to start this region */
+    uint32_t offset;                /**< Sector offset to start of this region */

`sector` is unambiguous here, so let's keep it short.

-- 
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/14045#discussion_r423614483
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200512/9d19784f/attachment.htm>


More information about the notifications mailing list