mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
test(UART): fix uart tx with ringbuffer test fail issue
This commit is contained in:
@@ -292,7 +292,8 @@ TEST_CASE("uart tx with ringbuffer test", "[uart]")
|
|||||||
.data_bits = UART_DATA_8_BITS,
|
.data_bits = UART_DATA_8_BITS,
|
||||||
.parity = UART_PARITY_DISABLE,
|
.parity = UART_PARITY_DISABLE,
|
||||||
.stop_bits = UART_STOP_BITS_1,
|
.stop_bits = UART_STOP_BITS_1,
|
||||||
.flow_ctrl = UART_HW_FLOWCTRL_DISABLE,
|
.flow_ctrl = UART_HW_FLOWCTRL_CTS_RTS,
|
||||||
|
.rx_flow_ctrl_thresh = 120,
|
||||||
.source_clk = UART_SCLK_APB,
|
.source_clk = UART_SCLK_APB,
|
||||||
};
|
};
|
||||||
TEST_ESP_OK(uart_param_config(uart_num, &uart_config));
|
TEST_ESP_OK(uart_param_config(uart_num, &uart_config));
|
||||||
|
Reference in New Issue
Block a user