diff --git a/gm_timer.c b/gm_timer.c index 523fa882f1847e4126898ef446f1361f55920386..900c841a07000d4b7efa0cebccda7bfab940b353 100644 --- a/gm_timer.c +++ b/gm_timer.c @@ -73,7 +73,7 @@ static GM_BOOL GM_Timer_AddToList(GM_TIMER* ptimer) ** interval - 触发时间间隔 ** cb - 回调 ** 输出参数:是否成功 -** 使用样例:GM_Timer_Init(); +** 使用样例:GM_Timer_Init(&tim, GM_TIMER_MODE_ONCE, 0, 100, GM_NULL); ** 函数备注:此函数会将初始化后的定时器插入系统链表,但不会启动定时器 *******************************************************************************/ GM_BOOL GM_Timer_Init(GM_TIMER* ptimer, GM_TIMER_MODE mode, GM_U32 times, GM_U32 interval, GM_CALLBACK cb)