| 29 | } |
| 30 | |
| 31 | void 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 | |
| 41 | ExFatFile SDManager::openFile(const String& name, bool write) { |
| 42 | if (!_available) begin(); |
nothing calls this directly
no outgoing calls
no test coverage detected