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

Koen Zandberg notifications at github.com
Wed Sep 18 11:55:33 CEST 2019

bergzand commented on this pull request.

> @@ -213,21 +212,19 @@ static int _recv_dev_setup(usbus_t *usbus, usb_setup_t *pkt)
             case USB_SETUP_REQ_SET_ADDRESS:
                 DEBUG("usbus_control: Setting address\n");
                 usbus->addr = (uint8_t)pkt->value;
-                res = 0;
+                res = 1;

It is used to determine the response to the transfer here:

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/20190918/763dca03/attachment.htm>

More information about the notifications mailing list