Fix some missing parameters in macros

This commit is contained in:
Gregory Nutt 2013-12-22 16:29:36 -06:00
parent bb6ba0b46b
commit 88faa55ac1
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
# define up_stackdump()
# define up_stackdump(sp,stack_base)
#endif
/****************************************************************************

View File

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

View File

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

View File

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

View File

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