diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/SoftwareSerial/SoftwareSerial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/SoftwareSerial/SoftwareSerial.h b/libraries/SoftwareSerial/SoftwareSerial.h index e28da98..274f3df 100644 --- a/libraries/SoftwareSerial/SoftwareSerial.h +++ b/libraries/SoftwareSerial/SoftwareSerial.h @@ -101,6 +101,7 @@ public: virtual int read();
virtual int available();
virtual void flush();
+ operator bool() { return true; }
using Print::write;
|