From 055be013324546822cd44265105a12803bf0e178 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 21 Apr 2020 11:49:41 +0100 Subject: [PATCH] pi gpio - bump to include msg complete capability --- hardware/PiGpio/36-rpi-gpio.js | 4 +--- hardware/PiGpio/package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hardware/PiGpio/36-rpi-gpio.js b/hardware/PiGpio/36-rpi-gpio.js index b7390d76..c5b11dfc 100644 --- a/hardware/PiGpio/36-rpi-gpio.js +++ b/hardware/PiGpio/36-rpi-gpio.js @@ -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()}); } diff --git a/hardware/PiGpio/package.json b/hardware/PiGpio/package.json index 708ef257..8b6047af 100644 --- a/hardware/PiGpio/package.json +++ b/hardware/PiGpio/package.json @@ -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" : { },