We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7de8127 commit b623613Copy full SHA for b623613
libraries/SD/src/File.cpp
@@ -98,9 +98,7 @@ int File::read(void *buf, uint16_t nbyte) {
98
int File::available() {
99
if (! _file) return 0;
100
101
- uint32_t n = size() - position();
102
-
103
- return n > 0X7FFF ? 0X7FFF : n;
+ return size() - position();
104
}
105
106
void File::flush() {
0 commit comments