Skip to content

Commit

Permalink
remove static definition of baudrate
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasferry committed Aug 28, 2017
1 parent 0a012f2 commit 37e9411
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nodes/core/external/thingml.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ module.exports = function(RED) {
var sport;

function connect(node){
sport = new SerialPort(node.port, {
baudRate: 9600
}, function (err) {
sport = new SerialPort(node.port, function (err) {
if (err) {
console.log('Error serial: ', err.message);
node.status({fill:"red",shape:"dot",text:"error "});
Expand Down

0 comments on commit 37e9411

Please sign in to comment.