fix rt_thread_mdelay parameter error bug;

This commit is contained in:
tanglj86 2019-10-19 15:00:15 +08:00
parent 21d24d51b8
commit 5e16a09cfb
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ int sal_netdev_cleanup(struct netdev *netdev)
sal_unlock(); sal_unlock();
if (find_dev) if (find_dev)
{ {
rt_thread_mdelay(rt_tick_from_millisecond(100)); rt_thread_mdelay(100);
} }
} }
while (find_dev); while (find_dev);