Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ enable
Method
enable
Sming/Platform/WDT.cpp:18–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
WDTClass WDT;
17
18
void WDTClass::enable(bool enableWatchDog)
19
{
20
enabled = enableWatchDog;
21
if(System.isReady()) {
22
internalApplyEnabled();
23
} else {
24
System.onReady(this);
25
}
26
}
27
28
void WDTClass::alive()
29
{
Callers
15
init
Function · 0.45
handleCommand
Function · 0.45
init
Function · 0.45
init
Function · 0.45
init
Function · 0.45
init
Function · 0.45
init
Function · 0.45
init
Function · 0.45
init
Function · 0.45
init
Function · 0.45
connectOk
Function · 0.45
connectFail
Function · 0.45
Calls
2
isReady
Method · 0.80
onReady
Method · 0.80
Tested by
no test coverage detected