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

Koen Zandberg notifications at github.com
Mon Feb 11 11:19:25 CET 2019


bergzand commented on this pull request.



> +    }
+    return false;
+}
+
+static usbdev_ep_t *usbdev_new_ep(usbdev_t *dev, usb_ep_type_t type,
+                                  usb_ep_dir_t dir, size_t buf_len)
+{
+    /* The IP supports all types for all endpoints */
+    (void)dev;
+    usbdev_ep_t *res = NULL;
+    if (type == USB_EP_TYPE_CONTROL) {
+        res = _get_ep(0, dir);
+        res->num = 0;
+    }
+    else {
+        for (unsigned idx = 1; idx < 8; idx++) {

Whoops :-(

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


More information about the notifications mailing list