Skip to content

Commit 412b76e

Browse files
authored
fix(uart): ESP32-P4 loopback functions
Uses void uart_internal_loopback(uint8_t uartNum, bool loop_back_en) IDF 5.x API.
1 parent 85d83f3 commit 412b76e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ unsigned long uartDetectBaudrate(uart_t *uart);
106106

107107
// Make sure UART's RX signal is connected to TX pin
108108
// This creates a loop that lets us receive anything we send on the UART
109-
void uart_internal_loopback(uint8_t uartNum, int8_t rxPin);
109+
void uart_internal_loopback(uint8_t uartNum, bool loop_back_en);
110110

111111
// Routines that generate BREAK in the UART for testing purpose
112112

0 commit comments

Comments
 (0)