[riot-notifications] [RIOT-OS/RIOT] USBUS: Initial work towards an USB stack (#10916)

Koen Zandberg notifications at github.com
Thu Mar 28 22:20:22 CET 2019


bergzand commented on this pull request.



> +static size_t _hdrs_fmt_additional(usbus_t *usbus, usbus_hdr_gen_t *hdr)
+{
+    size_t len = 0;
+
+    for (; hdr; hdr = hdr->next) {
+        len += call_get_header(usbus, hdr);
+    }
+    return len;
+}
+
+static size_t _hdrs_fmt_hdrs(usbus_t *usbus)
+{
+    return _hdrs_fmt_additional(usbus, usbus->hdr_gen);
+}
+
+size_t _hdrs_fmt_endpoints(usbus_t *usbus, usbus_endpoint_t *ep)

Done

-- 
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/10916#discussion_r270203623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190328/a5295b8c/attachment.html>


More information about the notifications mailing list