diff options
Diffstat (limited to 'include/uart.h')
-rw-r--r-- | include/uart.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uart.h b/include/uart.h index 67a2968d6c..17922879bc 100644 --- a/include/uart.h +++ b/include/uart.h @@ -8,6 +8,7 @@ #ifndef __CROS_EC_UART_H #define __CROS_EC_UART_H +#include <stdarg.h> /* For va_list */ #include "common.h" @@ -55,6 +56,10 @@ int uart_puts(const char *outstr); * Floating point output (%f / %g) is not supported. */ int uart_printf(const char *format, ...); +/* Print formatted output to the UART, like vprintf(). Supports the same + * formatting codes as uart_printf(). */ +int uart_vprintf(const char *format, va_list args); + /* Flushes output. Blocks until UART has transmitted all output. */ void uart_flush_output(void); |