Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ stop
Method
stop
libraries/Stopwatch_RT/StopWatch.cpp:36–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
35
36
void StopWatch::stop()
37
{
38
if (_state == StopWatch::RUNNING)
39
{
40
_stopTime = _gettime();
41
_state = StopWatch::STOPPED;
42
}
43
}
44
45
46
void StopWatch::reset()
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36