diff --git a/adb/transport_usb.cpp b/adb/transport_usb.cpp index 47094b82e..2f469204f 100644 --- a/adb/transport_usb.cpp +++ b/adb/transport_usb.cpp @@ -192,7 +192,7 @@ bool should_use_libusb() { #if defined(_WIN32) || !ADB_HOST return false; #else - static bool disable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "0") == 0; - return !disable; + static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0; + return enable; #endif }