MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / timer_free

Function timer_free

TactilityKernel/source/concurrent/timer.c:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void timer_free(struct Timer* timer) {
44 check(xPortInIsrContext() == pdFALSE);
45 check(timer != NULL);
46 // MAX_TICKS or a reasonable timeout for the timer command queue
47 xTimerDelete(timer->handle, portMAX_DELAY);
48 free(timer);
49}
50
51error_t timer_start(struct Timer* timer) {
52 check(xPortInIsrContext() == pdFALSE);

Callers 1

TimerTest.cppFile · 0.85

Calls 1

checkFunction · 0.50

Tested by

no test coverage detected