Dumping wrong GPIO regs

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3121 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-11-20 19:18:59 +00:00
parent 039133af94
commit a44623751d
1 changed files with 2 additions and 2 deletions

View File

@ -1662,8 +1662,8 @@ static int lpc17_rmmac(struct uip_driver_s *dev, const uint8_t *mac)
#if defined(CONFIG_NET_REGDEBUG) && defined(CONFIG_DEBUG_GPIO)
static void lpc17_showpins(void)
{
lpc17_dumpgpio(GPIO_PORT0|GPIO_PIN0, "P0[1-15]");
lpc17_dumpgpio(GPIO_PORT0|GPIO_PIN16, "P0[16-31]");
lpc17_dumpgpio(GPIO_PORT1|GPIO_PIN0, "P1[1-15]");
lpc17_dumpgpio(GPIO_PORT1|GPIO_PIN16, "P1[16-31]");
}
#endif