Loading adb/transport_usb.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -102,7 +102,7 @@ bool should_use_libusb() { #if defined(_WIN32) || !ADB_HOST #if defined(_WIN32) || !ADB_HOST return false; return false; #else #else static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0; static bool disable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "0") == 0; return enable; return !disable; #endif #endif } } Loading
adb/transport_usb.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -102,7 +102,7 @@ bool should_use_libusb() { #if defined(_WIN32) || !ADB_HOST #if defined(_WIN32) || !ADB_HOST return false; return false; #else #else static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0; static bool disable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "0") == 0; return enable; return !disable; #endif #endif } }