MCPcopy Create free account
hub / github.com/0x1abin/MultiTimer / removeTimer

Function removeTimer

MultiTimer.c:15–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15static void removeTimer(MultiTimer* timer) {
16 MultiTimer** current = &timerList;
17 while (*current) {
18 if (*current == timer) {
19 *current = timer->next;
20 break;
21 }
22 current = &(*current)->next;
23 }
24}
25
26int multiTimerStart(MultiTimer* timer, uint64_t timing, MultiTimerCallback_t callback, void* userData) {
27 if (!timer || !callback || platformTicksFunction == NULL) {

Callers 2

multiTimerStartFunction · 0.85
multiTimerStopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected