Merge pull request #3140 from tanglj86/master

fix rt_thread_mdelay parameter error bug;
This commit is contained in:
Bernard Xiong 2019-11-11 08:19:14 +08:00 committed by GitHub
commit 3777bec075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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