diff options
Diffstat (limited to 'controller/fw/src/serial.h')
-rw-r--r-- | controller/fw/src/serial.h | 5 |
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__
|