Loading lib/parser-v2.js +2 −2 Original line number Diff line number Diff line Loading @@ -85,8 +85,8 @@ module.exports = function(serialPort){ if(this._current) return; if(!this._queue.length) return; // if the serialport is not open yet. if(!serialPort.fd){ // if the serialport is not open yet. Check on node && chrome. if(!serialPort.fd && !serialPort.connectionId){ var z = this; if(!this.boundOpen) serialPort.once('open',function(){ z._send(); Loading Loading
lib/parser-v2.js +2 −2 Original line number Diff line number Diff line Loading @@ -85,8 +85,8 @@ module.exports = function(serialPort){ if(this._current) return; if(!this._queue.length) return; // if the serialport is not open yet. if(!serialPort.fd){ // if the serialport is not open yet. Check on node && chrome. if(!serialPort.fd && !serialPort.connectionId){ var z = this; if(!this.boundOpen) serialPort.once('open',function(){ z._send(); Loading