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

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