summaryrefslogtreecommitdiff
path: root/controller/fw/src/serial.h
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-21 14:19:01 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-21 14:19:01 +0100
commit3beecbc4fa60773ffbdf04ce1908a86be5908551 (patch)
tree3a470e3e86662804a090141d8843c46ce8620191 /controller/fw/src/serial.h
parent37338e2ad8ca226119121432b65f6c61134e60ac (diff)
downloadmaster-thesis-3beecbc4fa60773ffbdf04ce1908a86be5908551.tar.gz
master-thesis-3beecbc4fa60773ffbdf04ce1908a86be5908551.tar.bz2
master-thesis-3beecbc4fa60773ffbdf04ce1908a86be5908551.zip
Basic JTAG working
Diffstat (limited to 'controller/fw/src/serial.h')
-rw-r--r--controller/fw/src/serial.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/controller/fw/src/serial.h b/controller/fw/src/serial.h
index bad4374..73d2323 100644
--- a/controller/fw/src/serial.h
+++ b/controller/fw/src/serial.h
@@ -78,7 +78,8 @@ int usart_putc_blocking(volatile struct usart_desc *us, char c);
void usart_dma_stream_irq(volatile struct usart_desc *us);
int usart_flush(volatile struct usart_desc *us);
-int usart_printf(volatile struct usart_desc *us, char *fmt, ...);
-int usart_printf_blocking(volatile struct usart_desc *us, char *fmt, ...);
+int usart_printf(volatile struct usart_desc *us, const char *fmt, ...);
+int usart_printf_blocking(volatile struct usart_desc *us, const char *fmt, ...);
+int usart_printf_blocking_va(volatile struct usart_desc *us, const char *fmt, va_list va);
#endif // __SERIAL_H__