Skip to content

Commit

Permalink
Changed SDFilesystem to SD for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Woutvstk committed Dec 17, 2024
1 parent b31c790 commit f43a1af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/SD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,6 @@ namespace SDLib {
}
}

SDClass SD;
SDClass SDSDcard;

};
4 changes: 2 additions & 2 deletions src/SD.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ namespace SDLib {
friend bool callback_openPath(SdFile&, const char *, bool, void *);
};

extern SDClass SD;
extern SDClass SDcard;

};

Expand All @@ -135,6 +135,6 @@ namespace SDLib {
// sketch you must use SDFile instead of File to disambiguate)
typedef SDLib::File SDFile;
typedef SDLib::SDClass SDFileSystemClass;
#define SDFileSystem SDLib::SD
#define SD SDLib::SDcard

#endif

0 comments on commit f43a1af

Please sign in to comment.