We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32d3aee commit 398e70fCopy full SHA for 398e70f
api/Print.h
@@ -54,6 +54,10 @@ class Print
54
return write((const uint8_t *)buffer, size);
55
}
56
57
+ // default to zero, meaning "a single write may block"
58
+ // should be overriden by subclasses with buffering
59
+ virtual int availableForWrite() { return 0; }
60
+
61
size_t print(const __FlashStringHelper *);
62
size_t print(const String &);
63
size_t print(const char[]);
0 commit comments