[riot-notifications] [RIOT-OS/RIOT] usbus: Add automated test (#12267)

Koen Zandberg notifications at github.com
Wed Sep 18 21:02:13 CEST 2019


bergzand commented on this pull request.



> +                       usbdev_mock_ready_cb_t ready_cb)
+{
+    memset(&usbdev_mock, 0, sizeof(usbdev_mock));
+    usbdev_mock.usbdev.driver = &testdriver;
+
+    usbdev_mock.esr_cb = esr_cb;
+    usbdev_mock.ep_esr_cb = ep_esr_cb;
+    usbdev_mock.ready_cb = ready_cb;
+}
+
+static void _init(usbdev_t *usbdev)
+{
+    usbdev_mock_t *dev = (usbdev_mock_t *)usbdev;
+
+    /* Init fake usbdev */
+

Removed

-- 
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/12267#discussion_r325842860
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190918/a2a77643/attachment-0001.htm>


More information about the notifications mailing list