diff options
-rw-r--r-- | Debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,8 +18,8 @@ public: } } - inline bool operator!() const { - return !available(); + inline operator bool() const { + return Serial.operator bool(); }; inline bool available() const { |