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 2b0672e

Browse files
authoredOct 9, 2024··
fix(uart): new testing loopback API
Update Serial_STD_Func_OnReceive.ino to use new testing API
1 parent 38b4474 commit 2b0672e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void setup() {
8989
// creating a loopback that will allow to write to TEST_UART number
9090
// and send it to RX with no need to physically connect both pins
9191
#if TEST_UART > 0
92-
uart_internal_loopback(TEST_UART, RXPIN);
92+
uart_internal_loopback(TEST_UART, true);
9393
#else
9494
// when UART0 is used for testing, it is necessary to send data using the Serial Monitor/Terminal
9595
// Data must be sent by the CP2102, manually using the Serial Monitor/Terminal

0 commit comments

Comments
 (0)
Please sign in to comment.