From 6e7f93d6a09865937dde1124a6c3f36eebcd9d82 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 4 Feb 2022 16:33:19 -0700 Subject: Move tests to own file --- src/drivers/uart.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drivers') diff --git a/src/drivers/uart.c b/src/drivers/uart.c index c5514ce..cc9c357 100644 --- a/src/drivers/uart.c +++ b/src/drivers/uart.c @@ -1,4 +1,5 @@ #include +#include #define UART_BUFFER_SIZE 0x100 struct UartBuffer { @@ -27,6 +28,7 @@ void* uart_print(char* s) ubuffer.woffset %= UART_BUFFER_SIZE; ptr += 1; } + add_thread(uart_flush, 0, 5); return 0; } -- cgit v1.2.1