Skip to content

Commit 4a19be1

Browse files
authored
feat(SDFS): Add destructor to clean up resources
1 parent fb52bba commit 4a19be1

File tree

1 file changed

+1
-0
lines changed
  • libraries/SD/src

1 file changed

+1
-0
lines changed

libraries/SD/src/SD.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class SDFS : public FS {
2626

2727
public:
2828
SDFS(FSImplPtr impl);
29+
~SDFS();
2930
bool begin(
3031
uint8_t ssPin = SS, SPIClass &spi = SPI, uint32_t frequency = 4000000, const char *mountpoint = "/sd", uint8_t max_files = 5, bool format_if_empty = false
3132
);

0 commit comments

Comments
 (0)