aboutsummaryrefslogtreecommitdiff
path: root/src/uart
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-08-09 17:35:26 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2025-08-09 17:35:26 +0300
commit489beadf61d05f40dd4ac40e4e5290502f7ad078 (patch)
tree58241d94c3376aae6b081c6fe16288aa0f4d8593 /src/uart
parent1853f5d6594bc371e4d8e631c24acd011a620915 (diff)
downloadgran-489beadf61d05f40dd4ac40e4e5290502f7ad078.tar.gz
gran-489beadf61d05f40dd4ac40e4e5290502f7ad078.zip
format
Diffstat (limited to 'src/uart')
-rw-r--r--src/uart/simple_uart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uart/simple_uart.c b/src/uart/simple_uart.c
index e640ae1..91bbbbd 100644
--- a/src/uart/simple_uart.c
+++ b/src/uart/simple_uart.c
@@ -22,7 +22,8 @@ static stat simple_uart_clock(struct simple_uart *uart)
return OK;
}
-static stat simple_uart_receive(struct simple_uart *uart, struct component *from, struct packet pkt)
+static stat simple_uart_receive(struct simple_uart *uart,
+ struct component *from, struct packet pkt)
{
if (uart->busy)
return EBUSY;