MCPcopy Create free account
hub / github.com/SmingHub/Sming / findDevice

Function findDevice

Sming/Components/Storage/src/Storage.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57Device* findDevice(const String& name)
58{
59 Device::List devices(spiFlash);
60 return std::find(devices.begin(), devices.end(), name);
61}
62
63Partition findPartition(const String& name)
64{

Callers 1

checkSpiffsGenMethod · 0.85

Calls 3

findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected