Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ setError
Method
setError
Sming/Libraries/OtaUpgrade/OtaUpgrade/BasicStream.cpp:58–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
void BasicStream::setError(Error code)
59
{
60
assert(code != Error::None);
61
debug_e(
"Error: %s"
, toString(code).c_str());
62
errorCode = code;
63
state = State::Error;
64
}
65
66
void BasicStream::nextRom()
67
{
Callers
nothing calls this directly
Calls
2
toString
Function · 0.70
c_str
Method · 0.45
Tested by
no test coverage detected