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

Add support for FreeBSD's libusb reimplementation #993

Merged
merged 2 commits into from
Jun 21, 2020

Commits on Jun 19, 2020

  1. Add support for FreeBSD's libusb reimplementation

    FreeBSD reimplemented the libusb API, but their
    implementation of libusb_set_debug() expects an
    enum libusb_debug_level instead of an
    enum libusb_log_level. This causes excessive
    logging on FreeBSD drowning out all expected
    output.
    
    To keep the changes to other platforms minimal
    the FreeBSD specific code is kept inside an
    ifdef block and the enum values are recreated
    as magic numbers just like the log levels for
    other platforms.
    Crest committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    54e5627 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2020

  1. Use #ifdef instead of #if

    Crest committed Jun 21, 2020
    Configuration menu
    Copy the full SHA
    ff26313 View commit details
    Browse the repository at this point in the history