Skip to content

Commit 257bfd0

Browse files
committed
Revert "Track breaking API chance in EspSoftwareSerial."
This reverts commit 78aa3e8.
1 parent 1f58077 commit 257bfd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/esp8266/examples/SerialStress/SerialStress.ino

Lines changed: 2 additions & 2 deletions
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;
76-
ss->begin(SSBAUD, 3, 1);
75+
SoftwareSerial* ss = new SoftwareSerial(3, 1);
76+
ss->begin(SSBAUD);
7777
ss->enableIntTx(false);
7878
logger = ss;
7979
logger->println();

0 commit comments

Comments
 (0)