Skip to content

Commit 43fa67c

Browse files
authored
Merge pull request #402 from adafruit/develop
availableForWrite() return int instead of size_t
2 parents 0bd3487 + 5ebce71 commit 43fa67c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Adafruit nRF52 Arduino Core Changelog
22

3+
## 0.15.1 - 2019.12.31
4+
5+
- Print::availableForWrite() return int instead of size_t
6+
37
## 0.15.0 - 2019.12.30
48

59
### Core

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)