aboutsummaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/irq.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cpu/irq.c b/src/cpu/irq.c
index e195261..7b6ae7e 100644
--- a/src/cpu/irq.c
+++ b/src/cpu/irq.c
@@ -11,6 +11,7 @@
#include <util/status.h>
#include <util/time.h>
+void testfxn(void);
void handle_data(unsigned char);
void c_irq_handler(void)
@@ -115,11 +116,10 @@ void handle_data(unsigned char data)
cmd[off] = (char) data;
off += 1;
release_mutex(&exe_cnt_m, SYS_PID);
- // heap Info
- } else if (data == 0x69) {
+ } else if (data == 0x61) {
cmd[off] = (char) data;
off += 1;
- add_thread(heap_info, 0, 5);
+ add_thread(testfxn, 0, 3);
// Else output
} else {
cmd[off] = (char) data;
@@ -147,3 +147,7 @@ void handle_data(unsigned char data)
write_string(&g_Drawer, "> ");
write_string(&g_Drawer, cmd);
}
+
+void testfxn(void)
+{
+}