diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-09 10:44:22 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-09-09 10:44:22 +0000 |
commit | 66cf5195f983d64d24e708333907679529449b0b (patch) | |
tree | 426015c722fe44ef210cfcd0de8d66a1d1399e29 | |
parent | 5100d6afbf747042b938586f76dd998192a016e5 (diff) | |
download | ChibiOS-66cf5195f983d64d24e708333907679529449b0b.tar.gz ChibiOS-66cf5195f983d64d24e708333907679529449b0b.tar.bz2 ChibiOS-66cf5195f983d64d24e708333907679529449b0b.zip |
Fixed bug #885.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10567 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/src/hal_usb.c | 1 | ||||
-rw-r--r-- | readme.txt | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/src/hal_usb.c b/os/hal/src/hal_usb.c index 451b19aa4..b32bfc09f 100644 --- a/os/hal/src/hal_usb.c +++ b/os/hal/src/hal_usb.c @@ -125,6 +125,7 @@ static bool default_handler(USBDriver *usbp) { #endif
return true;
case (uint32_t)USB_RTYPE_RECIPIENT_DEVICE | ((uint32_t)USB_REQ_GET_DESCRIPTOR << 8):
+ case (uint32_t)USB_RTYPE_RECIPIENT_INTERFACE | ((uint32_t)USB_REQ_GET_DESCRIPTOR << 8):
/* Handling descriptor requests from the host.*/
dp = usbp->config->get_descriptor_cb(usbp, usbp->setup[3],
usbp->setup[2],
diff --git a/readme.txt b/readme.txt index ca20c3aad..8b4754fd3 100644 --- a/readme.txt +++ b/readme.txt @@ -115,6 +115,8 @@ dependencies and configuration directories. This makes possible
to have multiple non-conflicting makefiles in the same project.
Updated the various platform.mk implementing "smart build" mode.
+- HAL: Fixed USB GET_DESCRIPTOR not handled for Interface Recipients (bug #885)
+ (backported to 17.6.1 and 16.1.9).
- HAL: Fixed error in uartReceiveTimeout() and uartSendTimeout() (bug #883)
(backported to 17.6.1 and 16.1.9).
- HAL: Fixed TIMx DBL field macro broken (bug #880)(backported
|