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

remove extraneous s from GPIO node...

This commit is contained in:
Dave Conway-Jones 2015-12-12 15:18:17 +00:00
parent a074bcfd56
commit 5b04b86867

View File

@ -19,7 +19,7 @@ module.exports = function(RED) {
var exec = require('child_process').exec; var exec = require('child_process').exec;
var spawn = require('child_process').spawn; var spawn = require('child_process').spawn;
var fs = require('fs'); var fs = require('fs');
s
var gpioCommand = __dirname+'/nrgpio.py'; var gpioCommand = __dirname+'/nrgpio.py';
if (!fs.existsSync("/dev/ttyAMA0")) { // unlikely if not on a Pi if (!fs.existsSync("/dev/ttyAMA0")) { // unlikely if not on a Pi