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.
2 parents 90026f3 + 1c25d24 commit 8d840c5Copy full SHA for 8d840c5
libraries/SD/src/SD.cpp
@@ -450,7 +450,7 @@ File SDClass::open(const char *filepath, uint8_t mode) {
450
451
// there is a special case for the Root directory since its a static dir
452
if (parentdir.isRoot()) {
453
- if ( ! file.open(SD.root, filepath, mode)) {
+ if ( ! file.open(root, filepath, mode)) {
454
// failed to open the file :(
455
return File();
456
}
0 commit comments