diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-01-18 02:17:49 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-01-18 02:17:49 +0000 |
commit | 793fdbf756af7084e86fcaeeabc3c22f100673db (patch) | |
tree | 3339fb28ee2d516a996529b8deca817c5e5c398d /nuttx/arch/arm/src | |
parent | 2192e41e80704f27a61c9ae6b8a2c496bfe5090c (diff) | |
download | px4-nuttx-793fdbf756af7084e86fcaeeabc3c22f100673db.tar.gz px4-nuttx-793fdbf756af7084e86fcaeeabc3c22f100673db.tar.bz2 px4-nuttx-793fdbf756af7084e86fcaeeabc3c22f100673db.zip |
Add logic to map keyboard scancodes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3257 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src')
-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); } |