[riot-notifications] [RIOT-OS/RIOT] tests/mtd_raw: add simple test for MTD (#15362)

Marian Buschsieweke notifications at github.com
Thu Jan 7 17:57:08 CET 2021


@maribu commented on this pull request.



> +        count = atoi(argv[3]);
+    }
+
+    int res = mtd_erase_sector(dev, sector, count);
+
+    if (res) {
+        printf("error: %i\n", res);
+    }
+
+    return res;
+}
+
+static void _print_size(uint64_t size)
+{
+    unsigned long len;
+    const char *prefix;

```suggestion
    const char *postifx;
```

Or maybe even better `unit`?

-- 
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/15362#pullrequestreview-563654531
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210107/1e67d44f/attachment.htm>


More information about the notifications mailing list