9
0
Fork 0

Dumping wrong GPIO regs

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3121 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2010-11-20 19:18:59 +00:00
parent 71fcb95787
commit 58c6f79318
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