[riot-notifications] [RIOT-OS/RIOT] usbus: Initial simple auto init structure (#11075)

Dylan Laduranty notifications at github.com
Wed Jun 5 15:48:34 CEST 2019

dylad commented on this pull request.

> + * @}
+ */
+#include "usb/usbus.h"
+#define ENABLE_DEBUG (0)
+#include "debug.h"
+static char _stack[USBUS_STACKSIZE];
+static usbus_t usbus;
+void auto_init_usb(void)
+    /* Get driver context */
+    usbdev_t *usbdev = usbdev_get_ctx(0);

It is already state above in the same file. Indeed, this can be improve later when we support lowlevel driver for STM32F4 or other MCUs with at least 2 phy

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190605/835e6304/attachment-0001.html>

More information about the notifications mailing list