arch/arm/src/stm32f7/stm32_otghost.c: OTGFS_EPTYPE_INTR should e OTG_EPTYPE_INTR.

This commit is contained in:
Gregory Nutt
2019-10-29 13:22:45 -06:00
parent 5f65012449
commit 894a108743
+1 -1
View File
@@ -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