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

fix pi-gpiod labels

This commit is contained in:
Dave Conway-Jones 2019-03-14 14:00:40 +00:00
parent 8c91f5c0d8
commit 3d12a5318f
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-pi-gpiod", "name": "node-red-node-pi-gpiod",
"version": "0.0.10", "version": "0.0.11",
"description": "A node-red node for PiGPIOd", "description": "A node-red node for PiGPIOd",
"dependencies" : { "dependencies" : {
"js-pigpio": "*" "js-pigpio": "*"

View File

@ -215,7 +215,7 @@
return this.name?"node_label_italic":""; return this.name?"node_label_italic":"";
}, },
outputLabels: function() { return "GPIO"+this.pin; }, outputLabels: function() { return "GPIO"+this.pin; },
palettelabel: "pi gpiod", paletteLabel: "pi gpiod",
oneditprepare: function() { oneditprepare: function() {
var pinnow = this.pin; var pinnow = this.pin;
var pintip = this._("pi-gpiod.tip.pin"); var pintip = this._("pi-gpiod.tip.pin");
@ -468,7 +468,7 @@
return this.name?"node_label_italic":""; return this.name?"node_label_italic":"";
}, },
inputLabels: function() { return "GPIO"+this.pin; }, inputLabels: function() { return "GPIO"+this.pin; },
palettelabel: "pi gpiod", paletteLabel: "pi gpiod",
oneditprepare: function() { oneditprepare: function() {
var pinnow = bcm2pin[this.pin]; var pinnow = bcm2pin[this.pin];
var pintip = this._("pi-gpiod.tip.pin"); var pintip = this._("pi-gpiod.tip.pin");