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 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