Skip to content

Commit 31c69c2

Browse files
committed
expose card and volume objects allowing for interface to tinyUSB
1 parent 84d60d8 commit 31c69c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/SD.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ namespace SDLib {
106106
return rmdir(filepath.c_str());
107107
}
108108

109+
Sd2Card& getCard() {
110+
return card;
111+
}
112+
113+
SdVolume& getVolume() {
114+
return volume;
115+
}
116+
109117
private:
110118

111119
// This is used to determine the mode used to open a file

0 commit comments

Comments
 (0)