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:
Rodrigo Garcia 2025-02-04 06:04:58 -03:00 committed by GitHub
parent 0302b4db47
commit 1c01fcd196
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;