From 2a3d809840a703c6e998e5c327edec2e6c9e63de Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 11 Nov 2010 11:33:21 +0000 Subject: minor fixes git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3096 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c') diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c index fbb457a9e..e144eb191 100644 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c @@ -105,7 +105,7 @@ /* This is the number of ethernet GPIO pins that must be configured */ -#define GPIO_NENET_PINS 12 +#define GPIO_NENET_PINS 10 /* Register debug */ @@ -147,7 +147,7 @@ static struct lpc17_driver_s g_ethdrvr[CONFIG_LPC17_NINTERFACES]; * On older Rev '-' devices, P1[6] ENET-TX_CLK would also have be to configured. */ -static uint16_t g_enetpins[GPIO_NENET_PINS] = +static const uint16_t g_enetpins[GPIO_NENET_PINS] = { GPIO_ENET_TXD0, GPIO_ENET_TXD1, GPIO_ENET_TXEN, GPIO_ENET_CRS, GPIO_ENET_RXD0, GPIO_ENET_RXD1, GPIO_ENET_RXER, GPIO_ENET_REFCLK, GPIO_ENET_MDC, GPIO_ENET_MDIO -- cgit v1.2.3