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:
parent
8c91f5c0d8
commit
3d12a5318f
@ -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": "*"
|
||||||
|
@ -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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user