mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-02 14:22:55 +03:00
Updated EspSoftwareSerial brings backward compatibility for ctor/begin() pair (only for the common cases with complete default argument use) (#6746)
This commit is contained in:
committed by
david gauchard
parent
43e0554b9c
commit
739bcd3fd5
@ -72,8 +72,8 @@ void setup() {
|
||||
|
||||
// using HardwareSerial0 pins,
|
||||
// so we can still log to the regular usbserial chips
|
||||
SoftwareSerial* ss = new SoftwareSerial;
|
||||
ss->begin(SSBAUD, 3, 1);
|
||||
SoftwareSerial* ss = new SoftwareSerial(3, 1);
|
||||
ss->begin(SSBAUD);
|
||||
ss->enableIntTx(false);
|
||||
logger = ss;
|
||||
logger->println();
|
||||
|
Reference in New Issue
Block a user