mirror of https://github.com/noisymime/Arduino.git
SoftwareSerial: match bool API with HardwareSerial
This commit is contained in:
parent
90ca3934f2
commit
b95533ffd0
|
@ -101,6 +101,7 @@ public:
|
|||
virtual int read();
|
||||
virtual int available();
|
||||
virtual void flush();
|
||||
operator bool() { return true; }
|
||||
|
||||
using Print::write;
|
||||
|
||||
|
|
Loading…
Reference in New Issue