提交 19f311b4 编写于 作者: W wangfuan 提交者: mysterywolf

[libc][delay] fix wrong usleep function

上级 4ab11d5b
...@@ -69,7 +69,7 @@ int usleep(useconds_t usec) ...@@ -69,7 +69,7 @@ int usleep(useconds_t usec)
} }
else /* scheduler has not run yet */ else /* scheduler has not run yet */
{ {
udelay(usec / 1000u); udelay(usec / 1000u * 1000u);
} }
udelay(usec % 1000u); udelay(usec % 1000u);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册