From 6f77a2706a58a7a8002d948e6311c89a9df5bf88 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 22 Dec 2010 03:12:55 +0000 Subject: Update some comments git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3216 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'nuttx/arch/arm/src/lpc17xx') 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); -- cgit v1.2.3