save 48bytes when no need to switch task in interrupt handler

This commit is contained in:
acevest
2019-10-06 15:51:34 +08:00
parent e5e905e9bb
commit b147d060fb
7 changed files with 72 additions and 198 deletions

View File

@@ -129,7 +129,7 @@ void SysTick_IRQHandler() {
}
}
void cpu_irq_entry(cpu_data_t irq, cpu_context_t *regs)
void cpu_irq_entry(cpu_data_t irq)
{
if (irq != 7) {
return;