From 5b3ceca69d5432f976ac487c63a75f8c6275028b Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Tue, 11 Jan 2022 18:05:00 -0700 Subject: Memory freeing is optimized Fixed Uart Bug temporarily --- src/cpu/irq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cpu') diff --git a/src/cpu/irq.c b/src/cpu/irq.c index aa7c375..c0fd367 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -30,7 +30,7 @@ void c_irq_handler(void) write_string(&g_Drawer, "TIMER: "); if(timer_status == 0) { cntfrq = read_cntfrq(); - write_cntv_tval(cntfrq); + write_cntv_tval(cntfrq/CPS); enablecntv(); write_cstring(&g_Drawer, "Enabled ", 0x00FF00); } else { @@ -67,6 +67,7 @@ void c_irq_handler(void) } else if (data == 0x61) { cmd[off] = (char) data; off += 1; + heap_info_u(); // Else output } else { cmd[off] = (char) data; -- cgit v1.2.1