remove intr disable

This commit is contained in:
zhao maosheng 2024-04-24 09:38:02 +08:00 committed by Rbb666
parent e2214cc899
commit 5dba9a4214
1 changed files with 0 additions and 4 deletions

View File

@ -1047,8 +1047,6 @@ static int list_irq(int argc, char**argv)
}
}
level = rt_hw_interrupt_disable();
rt_kprintf("%-*.s %-*.s %s %-*.s %-*.s %-*.s %-*.sUsers%-*.s",
6, "IRQ",
6, "HW-IRQ",
@ -1150,8 +1148,6 @@ static int list_irq(int argc, char**argv)
++irq_nr;
}
rt_hw_interrupt_enable(level);
rt_kprintf("%d IRQs found\n", irq_nr);
return 0;