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:
parent
3e21d7d730
commit
98a029bfd7
@ -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.";
|
||||
//}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user