MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / _timer_remove

Function _timer_remove

src/timer.c:191–199  ·  view source on GitHub ↗

* @brief Remove the timer * * @param timer the point of the timer */

Source from the content-addressed store, hash-verified

189 * @param timer the point of the timer
190 */
191rt_inline void _timer_remove(rt_timer_t timer)
192{
193 int i;
194
195 for (i = 0; i < RT_TIMER_SKIP_LIST_LEVEL; i++)
196 {
197 rt_list_remove(&timer->row[i]);
198 }
199}
200
201#if (DBG_LVL == DBG_LOG)
202/**

Callers 6

rt_timer_detachFunction · 0.85
rt_timer_deleteFunction · 0.85
_timer_startFunction · 0.85
_timer_checkFunction · 0.85
rt_timer_stopFunction · 0.85
rt_timer_controlFunction · 0.85

Calls 1

rt_list_removeFunction · 0.85

Tested by

no test coverage detected