Fix: lab3 bug

This commit is contained in:
ytshih committed 2025-04-08 07:01:56 +08:00
1 parent fc91808c1b
commit 2d572cea4d
2 files changed
+5 -4

No files matched your search

+2 -1
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;
}