MCPcopy Create free account
hub / github.com/OpenEarable/open-earable / end

Method end

src/utils/SDManager.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void SDManager::end() {
32 if (!_available) return;
33 if (_lastFile) {
34 closeFile(_lastFile);
35 }
36 sd->end();
37
38 detachInterrupt(digitalPinToInterrupt(EPIN_SD_STATE));
39}
40
41ExFatFile SDManager::openFile(const String& name, bool write) {
42 if (!_available) begin();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected