mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3222 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
9334b083f7
commit
29f9959a97
@ -473,7 +473,7 @@
|
||||
/* USB MaxPacketSize */
|
||||
|
||||
#define USBDEV_MAXPSIZE_SHIFT (0) /* Bits 0-9: Maximum packet size value */
|
||||
#define USBDEV_MAXPSIZE_ (0x3ff << USBDEV_MAXPSIZE_SHIFT)
|
||||
#define USBDEV_MAXPSIZE_MASK (0x3ff << USBDEV_MAXPSIZE_SHIFT)
|
||||
/* Bits 10-31: Reserved */
|
||||
/* DMA registers:
|
||||
*
|
||||
|
@ -88,7 +88,7 @@
|
||||
|
||||
/* CLKCTRL enable bits */
|
||||
|
||||
#define LPC17_CLKCTRL_ENABLES (USBOTG_CLK_HOSTCLK|USBDEV_CLK_PORTSELCLK|USBOTG_CLK_AHBCLK)
|
||||
#define LPC17_CLKCTRL_ENABLES (USBOTG_CLK_HOSTCLK|USBOTG_CLK_PORTSELCLK|USBOTG_CLK_AHBCLK)
|
||||
|
||||
/* Dump GPIO registers */
|
||||
|
||||
@ -1417,7 +1417,7 @@ FAR struct usbhost_driver_s *usbhost_initialize(int controller)
|
||||
|
||||
/* Now we can turn off the PORTSEL clock */
|
||||
|
||||
lpc17_putreg((LPC17_CLKCTRL_ENABLES & ~USBDEV_CLK_PORTSELCLK), LPC17_USBOTG_CLKCTRL);
|
||||
lpc17_putreg((LPC17_CLKCTRL_ENABLES & ~USBOTG_CLK_PORTSELCLK), LPC17_USBOTG_CLKCTRL);
|
||||
|
||||
/* Configure I/O pins */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user