void os_callout_reset(struct os_callout *c, int32_t timo)
Resets the callout to happen timo in OS ticks.
Arguments | Description |
---|---|
c | Pointer to os_callout being reset |
timo | OS ticks the timer is being set to |
N/A
/* Re-start the timer (run every 50 msecs) */ os_callout_reset(&g_bletest_timer.cf_c, OS_TICKS_PER_SEC / 20);