From 66cf5195f983d64d24e708333907679529449b0b Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio <gdisirio@gmail.com> Date: Sat, 9 Sep 2017 10:44:22 +0000 Subject: Fixed bug #885. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10567 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/hal_usb.c | 1 + readme.txt | 2 ++ 2 files changed, 3 insertions(+) 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 -- cgit v1.2.3