summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uart.c2
-rw-r--r--uart.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/uart.c b/uart.c
index d3012af..a6d6674 100644
--- a/uart.c
+++ b/uart.c
@@ -16,7 +16,7 @@ void uart_init(void)
UCSR0C = (1 << UCSZ01) | (1 << UCSZ00);
}
-void uart_write_char(char c)
+static inline void uart_write_char(char c)
{
while (!(UCSR0A & (1 << UDRE0)))
;
diff --git a/uart.h b/uart.h
index 854cd14..a88a3c6 100644
--- a/uart.h
+++ b/uart.h
@@ -2,7 +2,6 @@
#define UART_H
void uart_init(void);
-void uart_write_char(char c);
void uart_write(const char *s);
void uart_write_line(const char *s);