mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
arch/arm/src/stm32f7/stm32_otghost.c: OTGFS_EPTYPE_INTR should e OTG_EPTYPE_INTR.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user