aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Print.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/Print.h')
-rw-r--r--cores/arduino/Print.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/Print.h b/cores/arduino/Print.h
index 4d8a2f5..2b5aafd 100644
--- a/cores/arduino/Print.h
+++ b/cores/arduino/Print.h
@@ -87,6 +87,8 @@ class Print
size_t println(double, int = 2);
size_t println(const Printable&);
size_t println(void);
+
+ virtual void flush() { /* Empty implementation for backward compatibility */ }
};
#endif