MCPcopy 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
36void StopWatch::stop()
37{
38 if (_state == StopWatch::RUNNING)
39 {
40 _stopTime = _gettime();
41 _state = StopWatch::STOPPED;
42 }
43}
44
45
46void StopWatch::reset()

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36