1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

pi gpio - bump to include msg complete capability

This commit is contained in:
Dave Conway-Jones 2020-04-21 11:49:41 +01:00
parent 67c3d251e4
commit 055be01332
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
2 changed files with 2 additions and 4 deletions

View File

@ -139,9 +139,7 @@ module.exports = function(RED) {
if (RED.settings.verbose) { node.log("out: "+out); }
if (node.child !== null) {
node.child.stdin.write(out+"\n", () => {
if (done) {
done();
}
if (done) { done(); }
});
node.status({fill:"green",shape:"dot",text:msg.payload.toString()});
}

View File

@ -1,6 +1,6 @@
{
"name": "node-red-node-pi-gpio",
"version": "1.0.9",
"version": "1.1.0",
"description": "The basic Node-RED node for Pi GPIO",
"dependencies" : {
},