mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Stop arduino nodes warning about MaxEmitters
when more than 10 nodes in use
This commit is contained in:
parent
23f584268a
commit
878f511d0e
@ -72,6 +72,7 @@ module.exports = function(RED) {
|
||||
if (typeof this.serverConfig === "object") {
|
||||
var startup = function() {
|
||||
node.board = node.serverConfig.board;
|
||||
node.board.setMaxListeners(0);
|
||||
node.oldval = "";
|
||||
node.status({fill:"grey",shape:"ring",text:"node-red:common.status.connecting"});
|
||||
var doit = function() {
|
||||
@ -146,6 +147,7 @@ module.exports = function(RED) {
|
||||
if (typeof node.serverConfig === "object") {
|
||||
var startup = function() {
|
||||
node.board = node.serverConfig.board;
|
||||
node.board.setMaxListeners(0);
|
||||
node.status({fill:"grey",shape:"ring",text:"node-red:common.status.connecting"});
|
||||
var doit = function() {
|
||||
node.running = true;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-arduino",
|
||||
"version" : "0.3.0",
|
||||
"version" : "0.3.1",
|
||||
"description" : "A Node-RED node to talk to an Arduino running firmata",
|
||||
"dependencies" : {
|
||||
"firmata" : "^2.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user