[riot-notifications] [RIOT-OS/RIOT] [WIP] sam0_common: Add USB peripheral driver (#10915)

Koen Zandberg notifications at github.com
Sun Feb 10 12:58:12 CET 2019


bergzand commented on this pull request.



> +static void usbdev_ep_init(usbdev_ep_t *ep)
+{
+    _enable_ep_irq(ep);
+}
+
+size_t _ep_get_available(usbdev_ep_t *ep)
+{
+    return _bank_from_ep(ep)->PCKSIZE.bit.BYTE_COUNT;
+}
+
+int usbdev_ep_get(usbdev_ep_t *ep, usbopt_ep_t opt,
+                  void *value, size_t max_len)
+{
+    (void)ep;
+    (void)value;
+    (void)max_len;

Should be fixed now

-- 
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/10915#discussion_r255334472
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190210/bae0c464/attachment.html>


More information about the notifications mailing list