From 9ac402d1603fa862e40aab66b63a8a01f7e31a98 Mon Sep 17 00:00:00 2001 From: recan-li <721317716@qq.com> Date: Tue, 30 Mar 2021 12:12:49 +0800 Subject: [PATCH] fix: Fix compile warning base on code style --- multi_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multi_timer.c b/multi_timer.c index 8b48f2c..feb9cae 100644 --- a/multi_timer.c +++ b/multi_timer.c @@ -71,7 +71,7 @@ void timer_stop(struct Timer* handle) * @param None. * @retval None */ -void timer_loop() +void timer_loop(void) { struct Timer* target; for(target = head_handle; target; target = target->next) @@ -96,7 +96,7 @@ void timer_loop() * @param None. * @retval None. */ -void timer_ticks() +void timer_ticks(void) { _timer_ticks++; }