aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-16 22:28:33 -0700
committerChristian Cunningham <cc@localhost>2022-03-16 22:28:33 -0700
commita9f63b8cdb930d079cc69d492fe44dc8224c1e03 (patch)
treec97c9f84f5caa2b0cc77850c21f33b9f5cefaecb /src/drivers
parenta3732c11ad3bcd2c01a36d0a82a6f310fe8557af (diff)
More comments
Diffstat (limited to 'src/drivers')
-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;
}