Skip to content

Commit

Permalink
Merge pull request #13 from magicmonkey/close-hid-device
Browse files Browse the repository at this point in the history
Added the ability to close the HID device
  • Loading branch information
sandeepmistry committed Dec 14, 2013
2 parents 90e5b59 + 21b1274 commit c1caaf6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blink1.js
Expand Up @@ -246,6 +246,10 @@ Blink1.prototype.readPatternLine = function(position, callback) {
});
};

Blink1.prototype.close = function() {
this.hidDevice.close();
};

Blink1.devices = devices;

module.exports = Blink1;
Expand Down

0 comments on commit c1caaf6

Please sign in to comment.