We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 370e75c commit 0b2df35Copy full SHA for 0b2df35
cores/esp8266/Print.h
@@ -89,6 +89,8 @@ class Print {
89
size_t println(double, int = 2);
90
size_t println(const Printable&);
91
size_t println(void);
92
+
93
+ virtual void flush() { /* Empty implementation for backward compatibility */ }
94
};
95
96
#endif
cores/esp8266/Stream.h
@@ -47,7 +47,6 @@ class Stream: public Print {
47
virtual int available() = 0;
48
virtual int read() = 0;
49
virtual int peek() = 0;
50
- virtual void flush() = 0;
51
52
Stream() {
53
_timeout = 1000;
0 commit comments