From b8828465166bbf8f5efe3b4bd42102aebd729235 Mon Sep 17 00:00:00 2001 From: Dave C-J Date: Tue, 28 Jan 2014 09:46:44 +0000 Subject: [PATCH] Quick fix for serial hangs (with serialport1.3.1) While we investigate further. --- nodes/core/io/25-serial.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/io/25-serial.js b/nodes/core/io/25-serial.js index 1c5774594..de016fb05 100644 --- a/nodes/core/io/25-serial.js +++ b/nodes/core/io/25-serial.js @@ -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) {