diff options
Diffstat (limited to 'include/uart.h')
-rw-r--r-- | include/uart.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/uart.h b/include/uart.h index 086c407695..851b331fd2 100644 --- a/include/uart.h +++ b/include/uart.h @@ -8,11 +8,10 @@ #ifndef __CROS_EC_UART_H #define __CROS_EC_UART_H +#include <stdarg.h> /* For va_list */ #include "common.h" #include "gpio_signal.h" -#include <stdarg.h> /* For va_list */ - /** * Initialize the UART module. */ @@ -53,7 +52,7 @@ int uart_puts(const char *outstr); * * @param out Pointer to data to send * @param len Length of transfer in bytes - * @return number of characters successfully written. + * @return EC_SUCCESS, or non-zero if output was truncated. */ int uart_put(const char *out, int len); @@ -62,7 +61,7 @@ int uart_put(const char *out, int len); * * @param out Pointer to data to send * @param len Length of transfer in bytes - * @return number of characters successfully written. + * @return EC_SUCCESS, or non-zero if output was truncated. */ int uart_put_raw(const char *out, int len); |