We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34e9028 commit 9f9c72aCopy full SHA for 9f9c72a
lib/usb.js
@@ -47,9 +47,11 @@ BluetoothHciSocket.prototype.bindUser = function(devId) {
47
48
debug('using USB BUS = ' + usbBus + ', Address = ' + usbAddress);
49
50
- var usbDevices = usb.getDeviceList()
+ var usbDevices = usb.getDeviceList();
51
+
52
for (var i = 0; i < usbDevices.length; i++) {
- var usbDeviceDesc = usbDevices[i].deviceDescriptor
53
+ var usbDeviceDesc = usbDevices[i].deviceDescriptor;
54
55
if ((usbDeviceDesc.idVendor == usbVid) &&
56
(usbDeviceDesc.idProduct == usbPid) &&
57
(usbDevices[i].busNumber == usbBus) &&
0 commit comments