LPC31 EHCI: Fix errors in DEBUGASSERT statements
This commit is contained in:
parent
adc0b36c8f
commit
698baf9baa
@ -3432,7 +3432,7 @@ static int lpc31_enumerate(FAR struct usbhost_connection_s *conn, int rhpndx)
|
|||||||
* repeat."
|
* repeat."
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DEBUGASSERT(rhport->ep0.speed = EHCI_FULL_SPEED);
|
DEBUGASSERT(rhport->ep0.speed == EHCI_FULL_SPEED);
|
||||||
|
|
||||||
#if 0 /* The LPC31xx does not support a companion host controller */
|
#if 0 /* The LPC31xx does not support a companion host controller */
|
||||||
regval |= EHCI_PORTSC_OWNER;
|
regval |= EHCI_PORTSC_OWNER;
|
||||||
@ -3449,7 +3449,7 @@ static int lpc31_enumerate(FAR struct usbhost_connection_s *conn, int rhpndx)
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DEBUGASSERT(rhport->ep0.speed = EHCI_LOW_SPEED);
|
DEBUGASSERT(rhport->ep0.speed == EHCI_LOW_SPEED);
|
||||||
DEBUGASSERT((regval & USBDEV_PRTSC1_PSPD_MASK) == USBDEV_PRTSC1_PSPD_LS)
|
DEBUGASSERT((regval & USBDEV_PRTSC1_PSPD_MASK) == USBDEV_PRTSC1_PSPD_LS)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2052,7 +2052,7 @@ static int nand_readpage_noecc(struct sam_nandcs_s *priv, off_t block,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read the spare are is so requested */
|
/* Read the spare area if so requested */
|
||||||
|
|
||||||
if (spare)
|
if (spare)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user