From 0b812480a8b81607802cdceb273b69680cd5082c Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 11 Mar 2022 13:41:49 -0800 Subject: Statically Allocated Scheduling --- src/cpu/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu/irq.c') diff --git a/src/cpu/irq.c b/src/cpu/irq.c index d9d50d8..51bc7f2 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -47,7 +47,7 @@ void c_irq_handler(void) } // Add task to handle the data else { - //add_thread(handle_data, (void*)data, 1); + add_thread(handle_data, (void*)data, 1); } return; } @@ -60,7 +60,7 @@ void c_irq_handler(void) static char timer_lock = 0; if (!timer_lock) { timer_lock = 1; - add_thread(test_entry, 0, 2); + //add_thread(test_entry, 0, 2); timer_lock = 0; } *nexttime = *timer_chi + 30000000; -- cgit v1.2.1