STM32,F7,H7,L4 OTG FS/HS: Fix constant using in comparison to determine endpoint is interrupt type.

This commit is contained in:
Adam Porter 2019-06-20 06:58:35 -06:00 committed by Gregory Nutt
parent ac46dbbffd
commit af9b70ca5d
5 changed files with 5 additions and 5 deletions

View File

@ -1922,7 +1922,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_HCCHAR_EPTYP_INTR)
if (chan->eptype == OTGFS_EPTYPE_INTR)
{
/* For interrupt (and isochronous) endpoints, the
* polling rate is determined by the bInterval field

View File

@ -1927,7 +1927,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_HCCHAR_EPTYP_INTR)
if (chan->eptype == OTGFS_EPTYPE_INTR)
{
/* For interrupt (and isochronous) endpoints, the
* polling rate is determined by the bInterval field

View File

@ -1921,7 +1921,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_HCCHAR_EPTYP_INTR)
if (chan->eptype == OTGFS_EPTYPE_INTR)
{
/* For interrupt (and isochronous) endpoints, the
* polling rate is determined by the bInterval field

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 == OTG_HCCHAR_EPTYP_INTR)
if (chan->eptype == OTG_EPTYPE_INTR)
{
/* For interrupt (and isochronous) endpoints, the
* polling rate is determined by the bInterval field

View File

@ -1925,7 +1925,7 @@ static ssize_t stm32l4_in_transfer(FAR struct stm32l4_usbhost_s *priv,
/* Wait a bit before retrying after a NAK. */
if (chan->eptype == OTGFS_HCCHAR_EPTYP_INTR)
if (chan->eptype == OTGFS_EPTYPE_INTR)
{
/* For interrupt (and isochronous) endpoints, the
* polling rate is determined by the bInterval field