From 3beecbc4fa60773ffbdf04ce1908a86be5908551 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 21 Mar 2020 14:19:01 +0100 Subject: Basic JTAG working --- controller/fw/src/serial.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'controller/fw/src/serial.h') 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__ -- cgit