From 1163cc225a180b153e2a9bf9e0289b03d286da57 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 31 Dec 2019 11:46:58 +0700 Subject: [PATCH 1/2] availableForWrite() return int --- cores/nRF5/Print.h | 2 +- cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/nRF5/Print.h b/cores/nRF5/Print.h index 7787d988..a9a8f865 100644 --- a/cores/nRF5/Print.h +++ b/cores/nRF5/Print.h @@ -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 &); diff --git a/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore b/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore index 472633c1..09968245 160000 --- a/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore +++ b/cores/nRF5/TinyUSB/Adafruit_TinyUSB_ArduinoCore @@ -1 +1 @@ -Subproject commit 472633c1c4fe2b1c9960fb12bed8c2740d489c51 +Subproject commit 09968245ad675377f2265717f0e138d5dccb39a3 From 5ebce712eebae97ee89546de2889b3e9f2ed25ab Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 31 Dec 2019 11:48:02 +0700 Subject: [PATCH 2/2] update changelog --- changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog.md b/changelog.md index 9df922cd..2b512f21 100644 --- a/changelog.md +++ b/changelog.md @@ -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