Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d3ff05 commit e84e9c1Copy full SHA for e84e9c1
cores/esp32/Print.h
@@ -108,6 +108,9 @@ class Print
108
size_t println(const Printable&);
109
size_t println(struct tm * timeinfo, const char * format = NULL);
110
size_t println(void);
111
+
112
+ virtual void flush() { /* Empty implementation for backward compatibility */ }
113
114
};
115
116
#endif
cores/esp32/Stream.h
@@ -48,7 +48,6 @@ class Stream: public Print
48
virtual int available() = 0;
49
virtual int read() = 0;
50
virtual int peek() = 0;
51
- virtual void flush() = 0;
52
53
Stream():_startMillis(0)
54
{
0 commit comments