Skip to content

Commit 1163cc2

Browse files
committed
availableForWrite() return int
1 parent 0bd3487 commit 1163cc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cores/nRF5/Print.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Print
5858

5959
// default to zero, meaning "a single write may block"
6060
// should be overriden by subclasses with buffering
61-
virtual size_t availableForWrite() { return 0; }
61+
virtual int availableForWrite() { return 0; }
6262

6363
size_t print(const __FlashStringHelper *);
6464
size_t print(const String &);

0 commit comments

Comments
 (0)