aboutsummaryrefslogtreecommitdiff
path: root/Debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'Debug.h')
-rw-r--r--Debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Debug.h b/Debug.h
index a70a144..2de911b 100644
--- a/Debug.h
+++ b/Debug.h
@@ -18,8 +18,8 @@ public:
}
}
- inline bool operator!() const {
- return !available();
+ inline operator bool() const {
+ return Serial.operator bool();
};
inline bool available() const {