diff options
Diffstat (limited to 'nuttx/arch/arm')
-rwxr-xr-x | nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c index e9a639b69..3944b22aa 100755 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c @@ -952,7 +952,7 @@ static inline int lpc17_addinted(struct lpc17_usbhost_s *priv, /* Re-enabled periodic list processing */ regval = lpc17_getreg(LPC17_USBHOST_CTRL); - regval &= ~OHCI_CTRL_PLE; + regval |= OHCI_CTRL_PLE; lpc17_putreg(regval, LPC17_USBHOST_CTRL); return OK; #else @@ -1089,7 +1089,7 @@ static inline int lpc17_reminted(struct lpc17_usbhost_s *priv, if (head != NULL) { regval = lpc17_getreg(LPC17_USBHOST_CTRL); - regval &= ~OHCI_CTRL_PLE; + regval |= OHCI_CTRL_PLE; lpc17_putreg(regval, LPC17_USBHOST_CTRL); } |