remove extraneous ) in neopixel node

This commit is contained in:
Dave Conway-Jones
2025-06-27 17:45:10 +01:00
parent 84d557d3b3
commit 9a67173ec2
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ module.exports = function(RED) {
try {
var cpuinfo = fs.readFileSync("/proc/cpuinfo").toString();
if (cpuinfo.indexOf(": BCM") === -1 && cpuinfo.indexOf(": Raspberry Pi") === -1)) {
if (cpuinfo.indexOf(": BCM") === -1 && cpuinfo.indexOf(": Raspberry Pi") === -1) {
RED.log.warn("rpi-neopixels : "+RED._("node-red:rpi-gpio.errors.ignorenode"));
allOK = false;
}

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-pi-neopixel",
"version" : "2.0.2",
"version" : "2.0.3",
"description" : "A Node-RED node to output to a neopixel (ws2812) string of LEDS from a Raspberry Pi.",
"dependencies" : {
},