Skip to content

Commit a9b7466

Browse files
authored
Fix ESP32/ESP8266 Serial Buffer Size (#91)
Fix ESP32/ESP8266 Buffer Size to 256 Bytes, which is default in the Arduino Core.
1 parent f881a8b commit a9b7466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModbusSlave.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#define MODBUS_CONTROL_PIN_NONE -1
2626

2727
#if defined (ESP32) || defined (ESP8266)
28-
#define SERIAL_BUFFER_SIZE 128
28+
#define SERIAL_BUFFER_SIZE 256
2929
#endif
3030

3131
/**

0 commit comments

Comments
 (0)