mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
load of tiny listing fixes, undef, unused, etc
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "node-red-node-pilcd",
|
||||
"version" : "0.0.4",
|
||||
"version" : "0.0.5",
|
||||
"description" : "A Node-RED node for Raspberry Pi to write to HD44780 style LCD panels.",
|
||||
"dependencies" : {
|
||||
},
|
||||
|
@@ -43,7 +43,6 @@ module.exports = function(RED) {
|
||||
var node = this;
|
||||
|
||||
function inputlistener(msg) {
|
||||
var out = msg.payload.toString();
|
||||
if (RED.settings.verbose) { node.log("inp: " + msg.payload); }
|
||||
if (node.child !== null) { node.child.stdin.write(msg.payload + "\n"); }
|
||||
else { node.warn("Command not running"); }
|
||||
@@ -90,7 +89,6 @@ module.exports = function(RED) {
|
||||
}
|
||||
|
||||
node.on("close", function(done) {
|
||||
delete pinsInUse[node.pin];
|
||||
if (node.child != null) {
|
||||
node.child.stdin.write("c:lose" + node.pin);
|
||||
node.child.kill('SIGKILL');
|
||||
|
Reference in New Issue
Block a user