Skip to content

Commit 252bf6f

Browse files
authored
fix(uart): fixes a uart example typo
1 parent 5cac99b commit 252bf6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP32/examples/Serial/onReceiveExample/onReceiveExample.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void setup() {
8585
// setClockSource() must be called before begin()
8686
UART0.setClockSource(UART_CLK_SRC_APB);
8787
#endif
88-
// the amount of data received or waiting to be proessed shall not exceed this limit of 1024 bytes
88+
// the amount of data received or waiting to be processed shall not exceed this limit (1024 bytes)
8989
UART0.setRxBufferSize(1024); // default is 256 bytes
9090
UART0.begin(baudrate); // default pins and default mode 8N1 (8 bits data, no parity bit, 1 stopbit)
9191
// set RX Timeout based on UART symbols ~ 3.5 symbols of 11 bits (MODBUS standard) ~= 2 ms at 19200

0 commit comments

Comments
 (0)