From ec4362ebc77ced8fa6a5622757c460aca807597b Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Mon, 10 Feb 2020 02:52:59 +0300 Subject: [PATCH] RCM bugfix --- README_KR.md => Outdated_README_KR.md | 0 src/main/java/nsusbloader/COM/USB/UsbConnect.java | 5 +---- 2 files changed, 1 insertion(+), 4 deletions(-) rename README_KR.md => Outdated_README_KR.md (100%) diff --git a/README_KR.md b/Outdated_README_KR.md similarity index 100% rename from README_KR.md rename to Outdated_README_KR.md diff --git a/src/main/java/nsusbloader/COM/USB/UsbConnect.java b/src/main/java/nsusbloader/COM/USB/UsbConnect.java index a1aa548..984e15b 100644 --- a/src/main/java/nsusbloader/COM/USB/UsbConnect.java +++ b/src/main/java/nsusbloader/COM/USB/UsbConnect.java @@ -5,7 +5,7 @@ import nsusbloader.NSLDataTypes.EMsgType; import org.usb4java.*; public class UsbConnect { - private int DEFAULT_INTERFACE; + private int DEFAULT_INTERFACE = 0; private Context contextNS; private DeviceHandle handlerNS; @@ -24,17 +24,14 @@ public class UsbConnect { if (initForRCM){ // CORRECT NV: - DEFAULT_INTERFACE = 1; VENDOR_ID = 0x0955; PRODUCT_ID = 0x7321; /* // QA: - DEFAULT_INTERFACE = 0; VENDOR_ID = 0x1a86; PRODUCT_ID = 0x7523; */ } else { - DEFAULT_INTERFACE = 0; VENDOR_ID = 0x057E; PRODUCT_ID = 0x3000; }