Skip to content

Commit ec0ed8b

Browse files
committed
add correct method for esp32 fifo buffer size
1 parent 47f8381 commit ec0ed8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Example03_NavigationUART/Example03_NavigationUART.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ void setup()
193193
#if defined(ARDUINO_ARCH_RP2040)
194194
Serial1.setFIFOSize(512);
195195
#elif defined(ESP32)
196-
Serial1.setBufferSize(512);
196+
Serial1.setRxBufferSize(512);
197197
#endif
198198

199199
// Setup Serial1 for communication with the FPC2534

0 commit comments

Comments
 (0)