mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
SoftwareSerial: match bool API with HardwareSerial
This commit is contained in:
@ -101,6 +101,7 @@ public:
|
||||
virtual int read();
|
||||
virtual int available();
|
||||
virtual void flush();
|
||||
operator bool() { return true; }
|
||||
|
||||
using Print::write;
|
||||
|
||||
|
Reference in New Issue
Block a user