summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-22 03:12:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-22 03:12:55 +0000
commit6f77a2706a58a7a8002d948e6311c89a9df5bf88 (patch)
tree875850a314f5cc858cfe8332717dffe733fdc5d9 /nuttx/arch/arm/src/lpc17xx
parent6308bfe691ebb4506a88dce4dfe9533bab68f62b (diff)
downloadpx4-nuttx-6f77a2706a58a7a8002d948e6311c89a9df5bf88.tar.gz
px4-nuttx-6f77a2706a58a7a8002d948e6311c89a9df5bf88.tar.bz2
px4-nuttx-6f77a2706a58a7a8002d948e6311c89a9df5bf88.zip
Update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3216 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx')
-rwxr-xr-xnuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
index db8ccdfc9..f62ff43e7 100755
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
@@ -907,7 +907,7 @@ static int lpc17_usbinterrupt(int irq, FAR void *context)
else
{
- /* Check if we are not connected */
+ /* Check if we are now connected */
if ((rhportst1 & OHCI_RHPORTST_CCS) != 0)
{
@@ -1730,12 +1730,12 @@ FAR struct usbhost_driver_s *usbhost_initialize(int controller)
/* Set the OTG status and control register. Bits 0:1 apparently mean:
*
- * 10: U1=device, U2=host
- * 11: U1=host, U2=host
- * 10: reserved
- * 11: U1=host, U2=device
+ * 00: U1=device, U2=host
+ * 01: U1=host, U2=host
+ * 10: reserved
+ * 11: U1=host, U2=device
*
- * NOTE: The PORTSEL clock needs to be enabled only when accessing OTGSTCTRL
+ * NOTE: The PORTSEL clock needs to be enabled when accessing OTGSTCTRL
*/
lpc17_putreg(1, LPC17_USBOTG_STCTRL);