summaryrefslogtreecommitdiff
path: root/src/uart.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-06-04 23:49:40 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-06-04 23:49:40 +0200
commitda3ebb99ab95e659f2dc3e51fd1182258878011c (patch)
treeebb9d6b06d34374ea4c258014ab848fadad85fcf /src/uart.h
parent27321e05de35b494c2b282652e1c40a18435b68b (diff)
downloadanalog_instruments-da3ebb99ab95e659f2dc3e51fd1182258878011c.tar.gz
command parser
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