提交 18bb6d8a 编写于 作者: B bernard.xiong

fix DHCP sleep time to msecond.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@190 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 6ef065c7
......@@ -44,7 +44,7 @@ void lwip_sys_init()
while (netif_default->ip_addr.addr == 0)
{
rt_thread_delay(DHCP_FINE_TIMER_MSECS);
rt_thread_delay(DHCP_FINE_TIMER_MSECS * RT_TICK_PER_SECOND / 1000);
dhcp_fine_tmr();
mscnt += DHCP_FINE_TIMER_MSECS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册