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

Slightly better hardware discrimination for Hummingboard Node

This commit is contained in:
Dave C-J 2014-12-24 21:53:00 +00:00
parent 3e21d7d730
commit 98a029bfd7

View File

@ -21,7 +21,7 @@ module.exports = function(RED) {
var gpioCommand = '/usr/local/bin/gpiohb';
//if (!fs.existsSync("/etc/init.d/armhwinfo")) { // unlikely if not on a Hummingboard
//if (!fs.existsSync("/sys/devices/soc0/machine")) { // unlikely if not on a Hummingboard
//throw "Info : Ignoring Hummingboard specific node.";
//}