From 23034623f5f4ed6fb89794a43b309dc06aa25e5f Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 18 Mar 2022 14:39:53 -0700 Subject: Fixed free queue not initializing properly --- src/cpu/irq.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/cpu') diff --git a/src/cpu/irq.c b/src/cpu/irq.c index 6a5b43f..b2d9a71 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -31,8 +31,11 @@ void c_irq_handler(void) } // Handle the recieved data + // Ctrl+G to output scheduler debug info + if (data == 0x7) + uart_scheduler(); // Ctrl+T to toggle timer - if(data == 0x14) { + else if(data == 0x14) { unsigned long timer_status; asm volatile("mrc p15, 0, %0, c14, c3, 1" : "=r"(timer_status)); if(timer_status == 0) { -- cgit v1.2.1