summaryrefslogtreecommitdiffstats
path: root/uart.c
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-03-09 17:21:52 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-03-09 17:21:52 +0800
commita62ca9eaac7bc3f20d941a16d0daeeab3ad9cbf9 (patch)
treebec337cd83683fdf9ecef8df4a4a76fc85bcc489 /uart.c
parent4356725e64d5c5eaf76ef413df94a65d02f84775 (diff)
downloadavr-nrf24l01-driver-a62ca9eaac7bc3f20d941a16d0daeeab3ad9cbf9.tar.gz
Remove write_char() from public interface.
Diffstat (limited to 'uart.c')
-rw-r--r--uart.c2
1 files changed, 1 insertions, 1 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)))
;