[libc][delay] fix wrong usleep function

This commit is contained in:
wangfuan authored and Man, Jianting (Meco) committed 2023-03-27 13:06:12 -04:00
1 parent 4ab11d5bbc
commit 19f311b498
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ int usleep(useconds_t usec)
}
else /* scheduler has not run yet */
{
udelay(usec / 1000u);
udelay(usec / 1000u * 1000u);
}
udelay(usec % 1000u);