mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
fix deadbandEQ mode in rbe.js (#335)
This commit is contained in:
parent
f6a05823a9
commit
652d857dd6
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user