mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
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 read();
|
||||||
virtual int available();
|
virtual int available();
|
||||||
virtual void flush();
|
virtual void flush();
|
||||||
|
operator bool() { return true; }
|
||||||
|
|
||||||
using Print::write;
|
using Print::write;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user