MCPcopy Create free account
hub / github.com/BruceDevices/firmware / closeSdCard

Function closeSdCard

src/core/sd_functions.cpp:110–114  ·  view source on GitHub ↗

** Function name: closeSdCard ** Description: Turn Off SDCard, set sdcardMounted state to false ***************************************************************************************/

Source from the content-addressed store, hash-verified

108** Description: Turn Off SDCard, set sdcardMounted state to false
109***************************************************************************************/
110void closeSdCard() {
111 SD.end();
112 Serial.println("SD Card Unmounted...");
113 sdcardMounted = false;
114}
115
116/***************************************************************************************
117** Function name: ToggleSDCard

Callers 2

mic_test_one_taskFunction · 0.85
ToggleSDCardFunction · 0.85

Calls 2

endMethod · 0.45
printlnMethod · 0.45

Tested by

no test coverage detected