We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98a19ab commit 34545a1Copy full SHA for 34545a1
cores/esp8266/FS.cpp
@@ -68,7 +68,7 @@ int File::read() {
68
69
size_t File::read(uint8_t* buf, size_t size) {
70
if (!_p)
71
- return -1;
+ return 0;
72
73
return _p->read(buf, size);
74
}
0 commit comments