From ff883fd90464d38d4fad04e2ce96bd779db3aa82 Mon Sep 17 00:00:00 2001 From: TomFree <1124339397@qq.com> Date: Sun, 2 Aug 2020 18:20:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gm_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gm_timer.c b/gm_timer.c index 523fa88..900c841 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) -- Gitee