Merge pull request #3140 from tanglj86/master
fix rt_thread_mdelay parameter error bug;
This commit is contained in:
commit
3777bec075
|
@ -371,7 +371,7 @@ int sal_netdev_cleanup(struct netdev *netdev)
|
|||
sal_unlock();
|
||||
if (find_dev)
|
||||
{
|
||||
rt_thread_mdelay(rt_tick_from_millisecond(100));
|
||||
rt_thread_mdelay(100);
|
||||
}
|
||||
}
|
||||
while (find_dev);
|
||||
|
|
Loading…
Reference in New Issue