mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Re-lint a load of nodes
This commit is contained in:
@@ -164,10 +164,12 @@ module.exports = function(RED) {
|
||||
if (node.pin !== undefined) {
|
||||
if (node.pin === "12") {
|
||||
node.child = spawn(gpioCommand, ["buzz",node.pin]);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
if (node.set && (node.out === "out")) {
|
||||
node.child = spawn(gpioCommand, [node.out,node.pin,node.level]);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
node.child = spawn(gpioCommand, [node.out,node.pin]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user