Fix some missing parameters in macros

This commit is contained in:
Gregory Nutt 2013-12-22 16:29:36 -06:00
parent e73291a8ea
commit 1705b3f894
5 changed files with 8 additions and 6 deletions

View File

@ -121,7 +121,7 @@ static void up_stackdump(uint32_t sp, uint32_t stack_base)
} }
} }
#else #else
# define up_stackdump() # define up_stackdump(sp,stack_base)
#endif #endif
/**************************************************************************** /****************************************************************************

View File

@ -121,7 +121,7 @@ static void up_stackdump(uint32_t sp, uint32_t stack_base)
} }
} }
#else #else
# define up_stackdump() # define up_stackdump(sp,stack_base)
#endif #endif
/**************************************************************************** /****************************************************************************

View File

@ -121,7 +121,7 @@ static void up_stackdump(uint32_t sp, uint32_t stack_base)
} }
} }
#else #else
# define up_stackdump() # define up_stackdump(sp,stack_base)
#endif #endif
/**************************************************************************** /****************************************************************************

View File

@ -121,7 +121,7 @@ static void up_stackdump(uint32_t sp, uint32_t stack_base)
} }
} }
#else #else
# define up_stackdump() # define up_stackdump(sp,stack_base)
#endif #endif
/**************************************************************************** /****************************************************************************

View File

@ -427,7 +427,8 @@ void up_disable_irq(int irq)
regval &= ~bit; regval &= ~bit;
putreg32(regval, regaddr); putreg32(regval, regaddr);
} }
stm32_dumpnvic("disable", irq);
// stm32_dumpnvic("disable", irq);
} }
/**************************************************************************** /****************************************************************************
@ -452,7 +453,8 @@ void up_enable_irq(int irq)
regval |= bit; regval |= bit;
putreg32(regval, regaddr); putreg32(regval, regaddr);
} }
stm32_dumpnvic("enable", irq);
// stm32_dumpnvic("enable", irq);
} }
/**************************************************************************** /****************************************************************************