mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
load of tiny listing fixes, undef, unused, etc
This commit is contained in:
@@ -27,8 +27,7 @@ module.exports = function(RED) {
|
||||
var devices = HID.devices(0x16c0,0x05df);
|
||||
for (var i=0; i< devices.length; i++) {
|
||||
if (devices[i].product == 'DigiUSB') {
|
||||
path = devices[i].path;
|
||||
node.log("found: " + path);
|
||||
node.log("found: " + devices[i].path);
|
||||
try {
|
||||
device = new HID.HID(devices[i].path);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user