fix fix for #105

This commit is contained in:
dceejay
2015-03-16 17:32:08 +00:00
parent 9d11a48cb1
commit 5a27ce17e8
2 changed files with 2 additions and 2 deletions

View File

@@ -58,11 +58,11 @@ module.exports = function (RED) {
function AnalogueInputNode(n) {
RED.nodes.createNode(this, n);
var node = this;
this._pin = adjustName(this.pin); // Adjusted for Octal if necessary
// Store local copies of the node configuration (as defined in the .html)
this.topic = n.topic;
this.pin = n.pin; // The Beaglebone Black pin identifying string
this._pin = adjustName(this.pin); // Adjusted for Octal if necessary
this.breakpoints = n.breakpoints;
this.averaging = n.averaging;
if (this.averaging) {