Merge pull request #402 from adafruit/develop
availableForWrite() return int instead of size_t
This commit is contained in:
3 files changed
+6
-2
No files matched your search
@@ -1,5 +1,9 @@
|
||||
# Adafruit nRF52 Arduino Core Changelog
|
||||
|
||||
## 0.15.1 - 2019.12.31
|
||||
|
||||
- Print::availableForWrite() return int instead of size_t
|
||||
|
||||
## 0.15.0 - 2019.12.30
|
||||
|
||||
### Core
|
||||
|
||||
+1
-1
@@ -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 &);
|
||||
|
||||
Reference in new issue
Block a user