From 837d29cca01e823d93d8f96906f7db1149292264 Mon Sep 17 00:00:00 2001 From: Linda Date: Fri, 14 Oct 2022 15:55:40 +0800 Subject: [PATCH] docs: update the description of uart_read_bytes --- components/driver/include/driver/uart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/driver/include/driver/uart.h b/components/driver/include/driver/uart.h index b410d2917e..ba5f49306e 100644 --- a/components/driver/include/driver/uart.h +++ b/components/driver/include/driver/uart.h @@ -538,7 +538,7 @@ int uart_write_bytes_with_break(uart_port_t uart_num, const void* src, size_t si * * @return * - (-1) Error - * - OTHERS (>=0) The number of bytes read from UART FIFO + * - OTHERS (>=0) The number of bytes read from UART buffer */ int uart_read_bytes(uart_port_t uart_num, void* buf, uint32_t length, TickType_t ticks_to_wait);