8000
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 fe093a5 commit 15db297Copy full SHA for 15db297
cores/esp32/Print.h
@@ -73,6 +73,11 @@ class Print
73
}
74
75
size_t printf(const char * format, ...) __attribute__ ((format (printf, 2, 3)));
76
+
77
+ // add availableForWrite to make compatible with Arduino Print.h
78
+ // default to zero, meaning "a single write may block"
79
+ // should be overriden by subclasses with buffering
80
+ virtual int availableForWrite() { return 0; }
81
size_t print(const __FlashStringHelper *);
82
size_t print(const String &);
83
size_t print(const char[]);
0 commit comments