witnessmenow / Universal-Arduino-Telegram-Bot

Use Telegram on your Arduino (ESP8266 or Wifi-101 boards)
MIT License
1.09k stars 302 forks source link

Bug in SoftwareSerial.h in version 3.1.2 #340

Closed RobertGnz closed 6 months ago

RobertGnz commented 6 months ago

In version 3.1.1 of SoftwareSerial.h we have: enum SoftwareSerialConfig { SWSERIAL_5N1 = SWSERIAL_PARITY_NONE, etc...

this was changed in version 3.1.2 with: enum Config { SWSERIAL_5N1 = SWSERIAL_PARITY_NONE, etc...

which lead to a conflicting name problem when Config is used in an application program but with another definition despite the namespace statement added in SoftwareSerial.h version 3.1.2