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

missing parentheses in USE_NEW_SCHEME #775

Closed
wants to merge 1 commit into from
Closed

missing parentheses in USE_NEW_SCHEME #775

wants to merge 1 commit into from

Commits on Jan 1, 2020

  1. missing parentheses in USE_NEW_SCHEME

    accroding to bd0e6c9#diff-28615d62e1250eadc353d804f49bc6d6, will try old enumeration scheme first for high speed devices. for example, when a high speed device pluged in, line 2720 should expand to 0 at the first time. USE_NEW_SCHEME(0, 0 || 0 || 1) === 0. but it wrongly expand to 1(alway expand to 1 for high speed device), and change USE_NEW_SCHEME to USE_NEW_SCHEME((i) % 2 == (int)(scheme)) may be better ?
    atmgnd authored Jan 1, 2020
    Configuration menu
    Copy the full SHA
    ef216f4 View commit details
    Browse the repository at this point in the history