Skip to content

Commit d7bb46e

Browse files
authored
fix(uart): fix example
Update OnReceiveError_BREAK_Demo.ino to use new API.
1 parent 412b76e commit d7bb46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP32/examples/Serial/OnReceiveError_BREAK_Demo/OnReceiveError_BREAK_Demo.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void setup() {
9393
// GPIO4 <--> GPIO5 using external wire
9494
Serial1.begin(BAUD, SERIAL_8N1, RXPIN, TXPIN); // Rx = 4, Tx = 5 will work for ESP32, S2, S3 and C3
9595
#if USE_INTERNAL_PIN_LOOPBACK
96-
uart_internal_loopback(TEST_UART, RXPIN);
96+
uart_internal_loopback(TEST_UART, true);
9797
#endif
9898

9999
for (uint8_t i = 0; i < sizeof(fifoFullTestCases); i++) {

0 commit comments

Comments
 (0)