| 13 | } |
| 14 | |
| 15 | static 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 | |
| 26 | int multiTimerStart(MultiTimer* timer, uint64_t timing, MultiTimerCallback_t callback, void* userData) { |
| 27 | if (!timer || !callback || platformTicksFunction == NULL) { |
no outgoing calls
no test coverage detected