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 4c16637 commit 58bcbb6Copy full SHA for 58bcbb6
src/SD.cpp
@@ -616,7 +616,8 @@ namespace SDLib {
616
//Serial.print("try to open file ");
617
//Serial.println(name);
618
619
- if (f.open(_file, name, mode)) {
+ uint16_t index = _file->curPosition() / sizeof(dir_t) - 1;
620
+ if (f.open(_file, index, mode)) {
621
//Serial.println("OK!");
622
return File(f, name);
623
} else {
0 commit comments