Skip to content

Commit 166f11f

Browse files
committed
feat: add FatFs object getter
Signed-off-by: Frederic Pillon <[email protected]>
1 parent ecd3e70 commit 166f11f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/STM32SD.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@ class SDClass {
162162
{
163163
return &_card;
164164
}
165-
165+
/** \return Pointer to FatFs object. */
166+
SdFatFs *fatFs()
167+
{
168+
return &_fatFs;
169+
}
166170
private:
167171
Sd2Card _card;
168172
SdFatFs _fatFs;

0 commit comments

Comments
 (0)