MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / mountAll

Function mountAll

Tactility/Source/hal/sdcard/SdCard.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void mountAll() {
41 device_for_each_of_type(&SDCARD_TYPE, nullptr, [](::Device* device, void*) -> bool {
42 if (!device_is_ready(device)) {
43 if (device_start(device) != ERROR_NONE) {
44 }
45 }
46 return true;
47 });
48}
49
50}

Callers 1

initFunction · 0.85

Calls 3

device_for_each_of_typeFunction · 0.85
device_is_readyFunction · 0.85
device_startFunction · 0.85

Tested by

no test coverage detected