MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / start

Method start

source/scheduler/SoftwareTimer.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19+---------------------------------------------------------------------------------------------------------------------*/
20
21int SoftwareTimer::start(const TickClock::duration duration, const TickClock::duration period)
22{
23 const auto now = TickClock::now();
24 return start(now + duration + decltype(duration){1}, period);
25}
26
27/*---------------------------------------------------------------------------------------------------------------------+
28| protected static functions

Callers 2

blockUntilMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected