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

Koen Zandberg notifications at github.com
Wed Jun 5 15:41:31 CEST 2019


bergzand 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);

But maybe I should put my whole reasoning above in a document if it isn't somewhere already

-- 
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/11075#discussion_r290743394
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190605/fbca54ae/attachment.html>


More information about the notifications mailing list