Commit 95b87545 authored by me-no-dev's avatar me-no-dev

Make Stream functions if File to not wait for timeout

Fixes: https://github.com/espressif/arduino-esp32/issues/1597
parent 9f8f0573
......@@ -47,7 +47,9 @@ enum SeekMode {
class File : public Stream
{
public:
File(FileImplPtr p = FileImplPtr()) : _p(p) {}
File(FileImplPtr p = FileImplPtr()) : _p(p) {
_timeout = 0;
}
size_t write(uint8_t) override;
size_t write(const uint8_t *buf, size_t size) override;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment