Comparing version 0.8.4 to 0.8.5
@@ -18,4 +18,2 @@ /* tessel to tessel | ||
nrf._debug = false; | ||
nrf.on('ready', function () { | ||
@@ -22,0 +20,0 @@ setTimeout(function(){ |
@@ -19,4 +19,2 @@ /* | ||
nrf._debug = false; | ||
nrf.on('ready', function () { | ||
@@ -23,0 +21,0 @@ if (role === 'ping') { |
@@ -7,2 +7,3 @@ var q = require('queue-async'), | ||
var DEBUG = false; | ||
var tessel; | ||
@@ -93,3 +94,3 @@ try { | ||
var nrf = new events.EventEmitter(); | ||
nrf._debug = true; | ||
nrf._debug = DEBUG; | ||
if (type == 'tessel') { | ||
@@ -96,0 +97,0 @@ _ce = "builtin"; |
@@ -6,3 +6,3 @@ //function _b(v) { return parseInt(v.replace(' ',''),2); } | ||
var n = 0; | ||
Array.prototype.forEach.call(v.replace(' ',''), function (l, i) { | ||
v.replace(' ','').split('').forEach(function (l, i) { | ||
if (l === '1') n += 1 << (7 - i); | ||
@@ -9,0 +9,0 @@ }); |
{ | ||
"name": "rf-nrf24", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"description": "nRF24L01 driver library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
54879
1044
1