Fix some missing parameters in macros
This commit is contained in:
parent
e73291a8ea
commit
1705b3f894
@ -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
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -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
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -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
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -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
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user