From cfebe5feb55777bb377ff310b8cde03f3e0c25ff Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 4 Feb 2022 00:05:50 -0700 Subject: Access Uart through rotating buffer --- src/cpu/irq.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cpu') diff --git a/src/cpu/irq.c b/src/cpu/irq.c index 2197067..15603b9 100644 --- a/src/cpu/irq.c +++ b/src/cpu/irq.c @@ -84,6 +84,9 @@ unsigned long c_fiq_handler(void) if (counter % 0x6000 == 0) { counter = 0; } + if (counter % 0x8 == 0) { + add_thread(uart_flush, 0, 5); + } if (counter % 0x30 == 0) { return 1; } -- cgit v1.2.1