Skip to content

Commit

Permalink
feat: add SDClass fatType method
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <[email protected]>
  • Loading branch information
fpistm committed Feb 4, 2025
1 parent e253b5c commit 338d65a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ setCMD KEYWORD2
setCKIN KEYWORD2
setCDIR KEYWORD2
setDxDIR KEYWORD2
fatType KEYWORD2

#######################################
# Constants (LITERAL1)
Expand Down
5 changes: 5 additions & 0 deletions src/STM32SD.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ class SDClass {

friend class File;

uint8_t fatType()
{
return _fatFs.fatType();
}

private:
Sd2Card _card;
SdFatFs _fatFs;
Expand Down

0 comments on commit 338d65a

Please sign in to comment.