fix deadbandEQ mode in rbe.js (#335)

This commit is contained in:
jmikerq 2017-06-13 12:32:13 -07:00 committed by Dave Conway-Jones
parent f6a05823a9
commit 652d857dd6
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ module.exports = function(RED) {
}
}
else if (Math.abs(n - node.previous[t]) > node.gap) {
if (this.func === "deadband") {
if (this.func === "deadband" || this.func === "deadbandEq") {
if (node.inout === "out") { node.previous[t] = n; }
node.send(msg);
}