SoftwareSerial: match bool API with HardwareSerial

This commit is contained in:
Martino Facchin 2015-03-05 11:59:32 +01:00
parent 90ca3934f2
commit b95533ffd0
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ public:
virtual int read();
virtual int available();
virtual void flush();
operator bool() { return true; }
using Print::write;