From 6c576a9a79a65b64ea94d743beb3d008ee004092 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 30 Dec 2010 02:25:14 +0000 Subject: mostly cosmetic git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3222 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c') diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c index 291d53ab7..5d1ae1727 100755 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c @@ -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 */ -- cgit v1.2.3