Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msleep uses stall which expects microseconds #251

Open
jirislaby opened this issue Jan 27, 2021 · 1 comment
Open

msleep uses stall which expects microseconds #251

jirislaby opened this issue Jan 27, 2021 · 1 comment

Comments

@jirislaby
Copy link

In the definition of msleep, Stall is used:

gBS->Stall(msecs);

But it expects microseconds (usually marked as usecs), not miliseconds (usually msecs). The calling code seems to pass microseconds at all places, it seems. So it seems to confuse only me. Would it be possible to rename the variable or add a comment, so noone else is confused later too?

@vathpela
Copy link
Contributor

Sure, send a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants