From 894a108743ba0d3a7da86150cb0d905b0d21e6bd Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 29 Oct 2019 13:22:45 -0600 Subject: [PATCH] arch/arm/src/stm32f7/stm32_otghost.c: OTGFS_EPTYPE_INTR should e OTG_EPTYPE_INTR. --- arch/arm/src/stm32f7/stm32_otghost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32f7/stm32_otghost.c b/arch/arm/src/stm32f7/stm32_otghost.c index d29acc2ed69..5a1b1ea525f 100644 --- a/arch/arm/src/stm32f7/stm32_otghost.c +++ b/arch/arm/src/stm32f7/stm32_otghost.c @@ -1926,7 +1926,7 @@ static ssize_t stm32_in_transfer(FAR struct stm32_usbhost_s *priv, int chidx, /* Wait a bit before retrying after a NAK. */ - if (chan->eptype == OTGFS_EPTYPE_INTR) + if (chan->eptype == OTG_EPTYPE_INTR) { /* For interrupt (and isochronous) endpoints, the * polling rate is determined by the bInterval field