Skip to content

Commit

Permalink
fix(uart): new testing loopback API
Browse files Browse the repository at this point in the history
Update RxTimeout_Demo.ino to use new testing API.
  • Loading branch information
SuGlider authored Oct 9, 2024
1 parent 4ef3148 commit 38b4474
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void setup() {
// GPIO4 <--> GPIO5 using external wire
Serial1.begin(BAUD, SERIAL_8N1, RXPIN, TXPIN); // Rx = 4, Tx = 5 will work for ESP32, S2, S3 and C3
#if USE_INTERNAL_PIN_LOOPBACK
uart_internal_loopback(TEST_UART, RXPIN);
uart_internal_loopback(TEST_UART, true);
#endif

for (uint8_t i = 0; i < sizeof(rxTimeoutTestCases); i++) {
Expand Down

0 comments on commit 38b4474

Please sign in to comment.