fix DHCP sleep time to msecond.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@190 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2009-12-02 23:51:37 +00:00
parent 6ef065c755
commit 18bb6d8a39

View File

@ -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;