MCPcopy 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

16WDTClass WDT;
17
18void WDTClass::enable(bool enableWatchDog)
19{
20 enabled = enableWatchDog;
21 if(System.isReady()) {
22 internalApplyEnabled();
23 } else {
24 System.onReady(this);
25 }
26}
27
28void WDTClass::alive()
29{

Callers 15

initFunction · 0.45
handleCommandFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
initFunction · 0.45
connectOkFunction · 0.45
connectFailFunction · 0.45

Calls 2

isReadyMethod · 0.80
onReadyMethod · 0.80

Tested by

no test coverage detected