Fix by @h3ndrik * Use correct read for stream data on the ESP32 (fixes #38) * Adjust types for read()
This commit is contained in:
1 parent
e7c2aba2aa
commit
05a78dce2a
2 files changed
+7
-7
No files matched your search
@@ -116,7 +116,7 @@ retry:
|
||||
if (avail == 0) return 0;
|
||||
if (avail < len) len = avail;
|
||||
|
||||
int read = stream->readBytes(reinterpret_cast<uint8_t*>(data), len);
|
||||
int read = stream->read(reinterpret_cast<uint8_t*>(data), len);
|
||||
pos += read;
|
||||
return read;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user