aboutsummaryrefslogtreecommitdiff
path: root/src/uart/simple_uart.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-02-23 01:32:47 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-02-23 01:32:47 +0200
commit00ea50354b38c6cd9ebb08c8141f48dd5392cd23 (patch)
tree3fd3435d30f0a32518a8dfe8ecc6c843f0e4c16f /src/uart/simple_uart.c
parent1a02154274b4925692ee0ad07d0bb8468ca9d69c (diff)
downloadgran-00ea50354b38c6cd9ebb08c8141f48dd5392cd23.tar.gz
gran-00ea50354b38c6cd9ebb08c8141f48dd5392cd23.zip
initial torus stuff
+ Not quite deadlock free for 2D/3D for whatever reason
Diffstat (limited to 'src/uart/simple_uart.c')
-rw-r--r--src/uart/simple_uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uart/simple_uart.c b/src/uart/simple_uart.c
index 1528a70..e640ae1 100644
--- a/src/uart/simple_uart.c
+++ b/src/uart/simple_uart.c
@@ -38,6 +38,7 @@ static stat simple_uart_receive(struct simple_uart *uart, struct component *from
}
putchar(packet_convu8(&pkt));
+ fflush(stdout);
set_flags(&uart->pkt, PACKET_DONE);
return OK;
}