summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266/tutorial
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-02-12 17:22:59 +1100
committerDamien George <damien.p.george@gmail.com>2018-02-12 17:22:59 +1100
commit8e1cb58a23372594f5a2b5baba91f8e570b7da21 (patch)
tree860d454e7244548942c3af3e7a23ea119d726412 /docs/esp8266/tutorial
parent02f88cb2df73b7cf2baf7568c26999269baa45f0 (diff)
downloadmicropython-8e1cb58a23372594f5a2b5baba91f8e570b7da21.tar.gz
micropython-8e1cb58a23372594f5a2b5baba91f8e570b7da21.zip
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.
Diffstat (limited to 'docs/esp8266/tutorial')
0 files changed, 0 insertions, 0 deletions