SoftwareSerial: match bool API with HardwareSerial
This commit is contained in:
parent
230f987ba6
commit
97fb130175
|
@ -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