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
1 changed files with 1 additions and 1 deletions

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.";
//}