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

Koen Zandberg notifications at github.com
Mon Feb 11 11:21:58 CET 2019


bergzand commented on this pull request.



> +            break;
+    }
+    return res;
+}
+
+int usbdev_ep_set(usbdev_ep_t *ep, usbopt_ep_t opt,
+                  const void *value, size_t value_len)
+{
+    (void)ep;
+    (void)value;
+    (void)value_len;
+    int res = -ENOTSUP;
+    assert(ep != NULL);
+    switch (opt) {
+        case USBOPT_EP_ENABLE:
+            assert(value_len == sizeof(usbopt_enable_t));

Fixed

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


More information about the notifications mailing list