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