availableForWrite() return int

This commit is contained in:
hathach committed 2019-12-31 11:46:58 +07:00
1 parent 0bd3487b5c
commit 1163cc225a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ class Print
// default to zero, meaning "a single write may block"
// should be overriden by subclasses with buffering
virtual size_t availableForWrite() { return 0; }
virtual int availableForWrite() { return 0; }
size_t print(const __FlashStringHelper *);
size_t print(const String &);