We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18b8171 commit 88764e9Copy full SHA for 88764e9
cores/arduino/Print.h
@@ -68,6 +68,10 @@ class Print {
68
return write((const uint8_t *)buffer, size);
69
}
70
71
+ // default to zero, meaning "a single write may block"
72
+ // should be overriden by subclasses with buffering
73
+ virtual int availableForWrite() { return 0; }
74
+
75
size_t print(const __FlashStringHelper *);
76
size_t print(const String &);
77
size_t print(const char[]);
0 commit comments