Skip to content

Commit ec4362e

Browse files
committed
RCM bugfix
1 parent 010c33c commit ec4362e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed
File renamed without changes.

src/main/java/nsusbloader/COM/USB/UsbConnect.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.usb4java.*;
66

77
public class UsbConnect {
8-
private int DEFAULT_INTERFACE;
8+
private int DEFAULT_INTERFACE = 0;
99

1010
private Context contextNS;
1111
private DeviceHandle handlerNS;
@@ -24,17 +24,14 @@ public UsbConnect(LogPrinter logPrinter, boolean initForRCM){
2424

2525
if (initForRCM){
2626
// CORRECT NV:
27-
DEFAULT_INTERFACE = 1;
2827
VENDOR_ID = 0x0955;
2928
PRODUCT_ID = 0x7321;
3029
/* // QA:
31-
DEFAULT_INTERFACE = 0;
3230
VENDOR_ID = 0x1a86;
3331
PRODUCT_ID = 0x7523;
3432
*/
3533
}
3634
else {
37-
DEFAULT_INTERFACE = 0;
3835
VENDOR_ID = 0x057E;
3936
PRODUCT_ID = 0x3000;
4037
}

0 commit comments

Comments
 (0)