Skip to content

Conversation

earlephilhower
Copy link
Collaborator

Adds an availableForWrite() method to the Print class, matching current
ArduinoCore-API commit 398e70f188e2b861c10d9ffe5e2bfcb6a4a4f489 .

Hook availableForWrite into the SDFS filesystem (other FSes don't have
this capability built-in).

Fixes #7650

Adds an availableForWrite() method to the Print class, matching current ArduinoCore-API commit 398e70f188e2b861c10d9ffe5e2bfcb6a4a4f489 . Hook availableForWrite into the SDFS filesystem (other FSes don't have this capability built-in). Fixes esp8266#7650
@earlephilhower earlephilhower changed the title Add Print::availableForWrite method BREAKING: Add Print::availableForWrite method Oct 17, 2020
This is evidently a breaking change due to the type difference. Arduino's `availableForWrite` returns an `int`, while the (multiply-implemented, non-virtual) core `availableForWrite` returned `size_t`.
@d-a-v d-a-v merged commit 7f38e14 into esp8266:master Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment