circuitpython/ports/stm32/usbdev/class/src
Damien George 8e1cb58a23 stm32/usbdev: Fix USBD setup request handler to use correct recipient.
Prior to this patch the USBD driver did not handle the recipient correctly
for setup requests.  It was not interpreting the req->wIndex field in the
right way: in some cases this field indicates the endpoint number but the
code was assuming it always indicated the interface number.

This patch fixes this.  The only noticeable change is to the MSC
interface, which should now correctly respond to the USB_REQ_CLEAR_FEATURE
request and hence unmount properly from the host when requested.
2018-02-12 17:22:59 +11:00
..
usbd_cdc_msc_hid.c stm32/usbdev: Fix USBD setup request handler to use correct recipient. 2018-02-12 17:22:59 +11:00
usbd_msc_bot.c stm32/usbdev: Simplify pointers to MSC state and block dev operations. 2017-09-21 21:51:12 +10:00
usbd_msc_data.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
usbd_msc_scsi.c stm32/usbdev: Pass thru correct val for SCSI PreventAllowMediumRemoval. 2017-12-13 18:33:39 +11:00