Fix invalid conversion error on Particle Argon (closes #1035)

This commit is contained in:
Benoit Blanchon
2019-07-01 09:07:16 +02:00
parent 2507ee2e56
commit 7d40a541c9
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ HEAD
---- ----
* Fixed assignment of `JsonDocument` to `JsonVariant` (issue #1023) * Fixed assignment of `JsonDocument` to `JsonVariant` (issue #1023)
* Fix invalid conversion error on Particle Argon (issue #1035)
v6.11.1 (2019-06-21) v6.11.1 (2019-06-21)
------- -------

View File

@ -18,7 +18,7 @@ struct ArduinoStreamReader {
int read() { int read() {
// don't use _stream.read() as it ignores the timeout // don't use _stream.read() as it ignores the timeout
uint8_t c; char c;
return _stream.readBytes(&c, 1) ? c : -1; return _stream.readBytes(&c, 1) ? c : -1;
} }
}; };