summaryrefslogtreecommitdiff
path: root/src/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uart.h')
-rw-r--r--src/uart.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/uart.h b/src/uart.h
index c709487..b2eac64 100644
--- a/src/uart.h
+++ b/src/uart.h
@@ -5,7 +5,8 @@
*/
/*
- * Interrupt controlled UART
+ * Interrupt controlled UART with
+ * ringbuffers to TX and RX
*/
#ifndef _UART_H_
@@ -17,7 +18,7 @@
#include <string.h>
#ifndef BAUD
-#warning BAUD "BAUD not defined. Dafaulting to 9600"
+#warning "BAUD not defined. Dafaulting to 9600"
#define BAUD 9600
#endif
@@ -33,4 +34,6 @@ uint8_t uart_putchar(char _c);
uint8_t uart_getchar(char *_c);
+void uart_putstring(char *_s);
+
#endif