Fix: lab3 bug

This commit is contained in:
2025-04-01 18:34:59 +08:00
parent 09c2de666c
commit 2af52f761c
2 changed files with 5 additions and 4 deletions

View File

@@ -105,7 +105,8 @@ void irq_handler(void)
void wfe(void)
{
if (!global_interrupt_pool) {
asm volatile("wfe");
// asm volatile("wfe");
asm volatile("nop");
return;
}