Skip to content

Commit 78aa3e8

Browse files
committed
Track breaking API chance in EspSoftwareSerial.
1 parent 254302b commit 78aa3e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libraries/esp8266/examples/SerialStress/SerialStress.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ void setup() {
7272

7373
// using HardwareSerial0 pins,
7474
// so we can still log to the regular usbserial chips
75-
SoftwareSerial* ss = new SoftwareSerial(3, 1);
76-
ss->begin(SSBAUD);
75+
SoftwareSerial* ss = new SoftwareSerial;
76+
ss->begin(SSBAUD, 3, 1);
7777
ss->enableIntTx(false);
7878
logger = ss;
7979
logger->println();

0 commit comments

Comments
 (0)