From bd437bfb0394d09361aaf7a191e5d3f8abbf4835 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 9 May 2015 16:23:19 -0600 Subject: [PATCH] Update ChangeLog --- ChangeLog | 2 ++ drivers/usbhost/usbhost_cdcacm.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 552945b98a..3e22613c8b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10338,3 +10338,5 @@ FLASH on the C139 phone. From Craig Comstock (2015-05-08). * STM32 F3: Add DBGMCU register definitions for the F3 family. From Greg Meiste (2015-05-09). + * arch/arm/src/stm32/chip/stm32_exti.h: Add EXTI line definitions for + the STM32L family (2015-05-09). diff --git a/drivers/usbhost/usbhost_cdcacm.c b/drivers/usbhost/usbhost_cdcacm.c index 792e427d3d..0a15d7a0ef 100644 --- a/drivers/usbhost/usbhost_cdcacm.c +++ b/drivers/usbhost/usbhost_cdcacm.c @@ -1386,9 +1386,8 @@ static int usbhost_cfgdesc(FAR struct usbhost_cdcacm_s *priv, if (currif == USBHOST_DATAIF_FOUND && (epdesc->attr & USB_EP_ATTR_XFERTYPE_MASK) == USB_EP_ATTR_XFER_BULK) { - /* Yes.. Did we find the data interface? */ - /* Yes.. it is a bulk endpoint. IN or OUT? */ + if (USB_ISEPOUT(epdesc->addr)) { /* It is an OUT bulk endpoint. There should be only one