Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 55a2d1e

Browse files
authoredOct 9, 2024··
fix(uart): new testing loopback API
Update OnReceive_Demo.ino to se new API.
1 parent d7bb46e commit 55a2d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎libraries/ESP32/examples/Serial/OnReceive_Demo/OnReceive_Demo.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void setup() {
7575
// GPIO4 <--> GPIO5 using external wire
7676
Serial1.begin(BAUD, SERIAL_8N1, RXPIN, TXPIN); // Rx = 4, Tx = 5 will work for ESP32, S2, S3 and C3
7777
#if USE_INTERNAL_PIN_LOOPBACK
78-
uart_internal_loopback(TEST_UART, RXPIN);
78+
uart_internal_loopback(TEST_UART, true);
7979
#endif
8080

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

0 commit comments

Comments
 (0)
Please sign in to comment.