Tweaks to hardware nodes to throw not laoded exceptions correctly.

This commit is contained in:
Dave C-J
2014-04-08 15:54:08 +01:00
parent 36bbddffe5
commit 5a9cfb3425
3 changed files with 19 additions and 30 deletions

View File

@@ -18,13 +18,6 @@
var RED = require(process.env.NODE_RED_HOME + "/red/red");
var bonescript = require("bonescript");
// Require bonescript
//try {
// var bonescript = require("bonescript");
//} catch (err) {
// require("util").log("[145-BBB-hardware] Error: cannot find module 'bonescript'");
//}
// Node constructor for bbb-analogue-in
function AnalogueInputNode(n) {
// Create a RED node