1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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) {