Update some comments

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3216 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-12-22 03:12:55 +00:00
parent 7097a7c993
commit 29492d87e0
+6 -6
View File
@@ -907,7 +907,7 @@ static int lpc17_usbinterrupt(int irq, FAR void *context)
else else
{ {
/* Check if we are not connected */ /* Check if we are now connected */
if ((rhportst1 & OHCI_RHPORTST_CCS) != 0) 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: /* Set the OTG status and control register. Bits 0:1 apparently mean:
* *
* 10: U1=device, U2=host * 00: U1=device, U2=host
* 11: U1=host, U2=host * 01: U1=host, U2=host
* 10: reserved * 10: reserved
* 11: U1=host, U2=device * 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); lpc17_putreg(1, LPC17_USBOTG_STCTRL);