Skip to content

Commit 800e6ab

Browse files
lauerJesper Grann Laursen
and
Jesper Grann Laursen
authored
Bump Node hid to 2.1.0 (#29)
* upgrade node-hid to 2.1.0 * Expecting the new protocol to be set Co-authored-by: Jesper Grann Laursen <[email protected]>
1 parent 301154c commit 800e6ab

File tree

3 files changed

+688
-94
lines changed

3 files changed

+688
-94
lines changed

lib/busylight.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function Busylight(options){
4141
events.EventEmitter.call(this);
4242
this.options = options || supported;
4343
this.buffer = [0,0,0,0,0,0,0,0,128];
44-
this.newProtocol = options.vendorId === 10171;
44+
this.newProtocol = options.vendorId = 10171;
4545
this.debug = false;
4646
this.connectAttempts = 0;
4747
this.getColorArray = function(colors) {

0 commit comments

Comments
 (0)