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

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


bergzand commented on this pull request.



> +    }
+    return len;
+}
+
+static size_t _ep_size(usbus_t *usbus, usbus_endpoint_t *ep)
+{
+    size_t len = 0;
+
+    for (; ep; ep = ep->next) {
+        len += sizeof(usb_descriptor_endpoint_t);
+        len += _hdr_gen_size(usbus, ep->hdr_gen);
+    }
+    return len;
+}
+
+size_t _alt_size(usbus_t *usbus, usbus_interface_alt_t *alt)

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


More information about the notifications mailing list