We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06274cf commit dce241dCopy full SHA for dce241d
cores/arduino/Print.h
@@ -99,6 +99,8 @@ class Print {
99
100
int printf(const char *format, ...);
101
int printf(const __FlashStringHelper *format, ...);
102
+
103
+ virtual void flush() { /* Empty implementation for backward compatibility */ }
104
};
105
106
#endif
cores/arduino/Stream.h
@@ -58,7 +58,6 @@ class Stream : public Print {
58
virtual int available() = 0;
59
virtual int read() = 0;
60
virtual int peek() = 0;
61
- virtual void flush() = 0;
62
63
Stream()
64
{
0 commit comments