Minor fixes for compile with DEBUG enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4154 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
parent
d79002fd02
commit
05ac00d5f8
|
@ -144,7 +144,7 @@ int stm32_dumpgpio(uint32_t pinset, const char *msg)
|
|||
|
||||
lldbg("GPIO%c pinset: %08x base: %08x -- %s\n",
|
||||
g_portchar[port], pinset, base, msg);
|
||||
if ((getreg32(STM32_RCC_APB1ENR) & RCC_AH1BENR_GPIOEN(port)) != 0)
|
||||
if ((getreg32(STM32_RCC_APB1ENR) & RCC_AHB1ENR_GPIOEN(port)) != 0)
|
||||
{
|
||||
lldbg(" MODE: %08x OTYPE: %04x OSPEED: %08x PUPDR: %08x\n",
|
||||
getreg32(base + STM32_GPIO_MODER_OFFSET), getreg32(base + STM32_GPIO_OTYPER_OFFSET),
|
||||
|
|
|
@ -1576,7 +1576,7 @@ int stm32_ethinitialize(int intf)
|
|||
|
||||
/* Get the interface structure associated with this interface number. */
|
||||
|
||||
DEBUGASSERT(inf < STM32_NETHERNET);
|
||||
DEBUGASSERT(intf < STM32_NETHERNET);
|
||||
priv = &g_stm32ethmac[intf];
|
||||
|
||||
/* Initialize the driver structure */
|
||||
|
|
Loading…
Reference in New Issue