未验证 提交 6de7be26 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1822 from uestczyh222/hwtimer

[Components][Drivers][hwtimer]fix 'index' declared without an initial…
......@@ -30,7 +30,7 @@ rt_inline rt_uint32_t timeout_calc(rt_hwtimer_t *timer, rt_hwtimerval_t *tv)
float overflow;
float timeout;
rt_uint32_t counter;
int i, index;
int i, index = 0;
float tv_sec;
float devi_min = 1;
float devi;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册