MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / modTimerUnschedule

Function modTimerUnschedule

modules/base/timer/pebble/timer.c:219–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void modTimerUnschedule(modTimer timer)
220{
221 modCriticalSectionDeclare;
222 modCriticalSectionBegin();
223 timer->flags |= kTimerFlagUnscheduled;
224 timer->flags &= ~kTimerFlagFire;
225 timer->repeatInterval = -1;
226 modCriticalSectionEnd();
227
228 modTimersScheduleNext();
229}
230
231int modTimerGetSecondInterval(modTimer timer)
232{

Callers

nothing calls this directly

Calls 1

modTimersScheduleNextFunction · 0.85

Tested by

no test coverage detected