Alter device configuration, add log4j dependency
This commit is contained in:
@@ -34,6 +34,7 @@ repositories {
|
||||
dependencies {
|
||||
compile 'org.picocontainer:picocontainer:2.15'
|
||||
compile 'com.github.boukefalos:jlibusb:0.5.7'
|
||||
compile 'org.slf4j:slf4j-log4j12:1.+'
|
||||
}
|
||||
|
||||
uploadArchives {
|
||||
|
||||
@@ -497,7 +497,7 @@ public class IBuddy {
|
||||
private synchronized void open() throws IBuddyException {
|
||||
device = USB.getDevice(DEVICE_VENDOR, DEVICE_PRODUCT);
|
||||
try {
|
||||
device.open(1, 0, 0);
|
||||
device.open(1, 1, 0);
|
||||
} catch (USBException e) {
|
||||
throw new IBuddyException("Could not open i-Buddy", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user