aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/uart.c')
-rw-r--r--src/drivers/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/uart.c b/src/drivers/uart.c
index deaa84a..68c70d6 100644
--- a/src/drivers/uart.c
+++ b/src/drivers/uart.c
@@ -57,7 +57,7 @@ void* uart_print(char* s)
ptr += 1;
}
// Low priority flush run whenever
- add_thread(uart_flush, 0, PRIORITIES-1);
+ add_thread_without_duplicate(uart_flush, 0, PRIORITIES-1);
unlock(&ubuffer.l);
return 0;
}