1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

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

View File

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