[riot-notifications] [RIOT-OS/RIOT] fs: add littlefs as a package (#8239)

Vincent Dupont notifications at github.com
Tue Dec 19 14:45:58 CET 2017


vincent-d commented on this pull request.



> +    else {
+        return ret;
+    }
+}
+
+static int _dev_erase(const struct lfs_config *c, lfs_block_t block)
+{
+    mtd_dev_t *mtd = c->context;
+
+    DEBUG("lfs_erase: c=%p, block=%" PRIu32 "\n", (void *)c, block);
+
+    int ret = mtd_erase(mtd, block * c->block_size, c->block_size);
+    if (ret >= 0) {
+        return 0;
+    }
+    else {

Removed

-- 
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/8239#discussion_r157757686
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20171219/d9146b1f/attachment.html>


More information about the notifications mailing list