Quick fix for serial hangs (with serialport1.3.1)

While we investigate further.
This commit is contained in:
Dave C-J 2014-01-28 09:46:44 +00:00
parent c47c72cf48
commit b882846516
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ var serialPool = function() {
obj.serial.on('open',function() {
util.log("[serial] serial port "+port+" opened at "+baud+" baud");
if (obj.tout) { clearTimeout(obj.tout); }
obj.serial.flush();
//obj.serial.flush();
obj._emitter.emit('ready');
});
obj.serial.on('data',function(d) {