summaryrefslogtreecommitdiff
path: root/src/uart.c
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.c
parent27321e05de35b494c2b282652e1c40a18435b68b (diff)
downloadanalog_instruments-da3ebb99ab95e659f2dc3e51fd1182258878011c.tar.gz
command parser
Diffstat (limited to 'src/uart.c')
-rw-r--r--src/uart.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uart.c b/src/uart.c
index 0b65e30..4431be2 100644
--- a/src/uart.c
+++ b/src/uart.c
@@ -73,3 +73,9 @@ uint8_t uart_getchar(char *_c) {
return 0;
}
+
+void uart_putstring(char *_s) {
+ do {
+ uart_putchar(*_s);
+ } while(*(_s++));
+}