2 Commits

Author SHA1 Message Date
Kuba Szczodrzyński
1ed0000819 [release] v1.4.1
Some checks failed
Release / Run Clang lint (push) Has been cancelled
Release / Publish PlatformIO platform (push) Has been cancelled
Release / Publish GitHub release (push) Has been cancelled
2023-09-22 17:54:18 +02:00
Mike La Spina
3b79636d00 [libs] Fix SerialClass available() return value (#173)
Co-authored-by: descipher <120155735+GelidusResearch@users.noreply.github.com>
2023-09-21 17:19:51 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ void SerialClass::adrParse(uint8_t c) {
#endif
int SerialClass::available() {
return this->buf && this->buf->available();
return this->buf ? this->buf->available() : 0;
}
int SerialClass::peek() {

View File

@@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/libretiny-eu/libretiny.git"
},
"version": "1.4.0",
"version": "1.4.1",
"frameworks": {
"base": {
"title": "Base Framework (SDK only)",