fix(uart): fixed esp32s2 uart ci test case (#10926)
Wrong pins were used for baud rate detection test case, therefore no data was reaching UART1 RX FIFO from UART0 TX loopback.
This commit is contained in:
parent
0302b4db47
commit
1c01fcd196
1 changed files with 2 additions and 1 deletions
|
|
@ -399,7 +399,8 @@ void auto_baudrate_test(void) {
|
|||
|
||||
if (TEST_UART_NUM == 1) {
|
||||
selected_serial = &Serial1;
|
||||
uart_internal_loopback(0, RX1);
|
||||
// UART1 pins were swapped because of ESP32-P4
|
||||
uart_internal_loopback(0, /*RX1*/ TX1);
|
||||
} else {
|
||||
#ifdef RX2
|
||||
selected_serial = &Serial2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue