mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	Slightly better hardware discrimination for Hummingboard Node
This commit is contained in:
		| @@ -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."; | ||||
|     //} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user