summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-11 11:33:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-11-11 11:33:21 +0000
commit2a3d809840a703c6e998e5c327edec2e6c9e63de (patch)
treebbce2e11277a429cdf343416f5c45290c6cb48f6 /nuttx/arch
parentae726d671e5208957d3fd775789111535989fe1a (diff)
downloadpx4-nuttx-2a3d809840a703c6e998e5c327edec2e6c9e63de.tar.gz
px4-nuttx-2a3d809840a703c6e998e5c327edec2e6c9e63de.tar.bz2
px4-nuttx-2a3d809840a703c6e998e5c327edec2e6c9e63de.zip
minor fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3096 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_ethernet.c4
1 files changed, 2 insertions, 2 deletions
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