Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
57
Device* findDevice(const String& name)
58
{
59
Device::List devices(spiFlash);
60
return std::find(devices.begin(), devices.end(), name);
61
}
62
63
Partition findPartition(const String& name)
64
{
Callers
1
checkSpiffsGen
Method · 0.85
Calls
3
find
Function · 0.85
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected