mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
removed return to allow multiple props
This commit is contained in:
@@ -48,7 +48,6 @@ module.exports = function(RED) {
|
|||||||
}else if(msg.action == "connect"){
|
}else if(msg.action == "connect"){
|
||||||
serialPool.connect(this.serialConfig.serialport);
|
serialPool.connect(this.serialConfig.serialport);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (msg.hasOwnProperty("baudrate")) {
|
if (msg.hasOwnProperty("baudrate")) {
|
||||||
var baud = parseInt(msg.baudrate);
|
var baud = parseInt(msg.baudrate);
|
||||||
@@ -149,7 +148,6 @@ module.exports = function(RED) {
|
|||||||
}else if(msg.action == "connect"){
|
}else if(msg.action == "connect"){
|
||||||
serialPool.connect(this.serialConfig.serialport);
|
serialPool.connect(this.serialConfig.serialport);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (msg.hasOwnProperty("baudrate")) {
|
if (msg.hasOwnProperty("baudrate")) {
|
||||||
var baud = parseInt(msg.baudrate);
|
var baud = parseInt(msg.baudrate);
|
||||||
|
Reference in New Issue
Block a user