Fix some missing parameters in macros
This commit is contained in:
parent
bb6ba0b46b
commit
88faa55ac1
|
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in New Issue