From e2ee307824480519cce4aa6c463a8bb5f3767d15 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Sat, 21 Oct 2017 11:52:41 -0400 Subject: [PATCH] Add logging back because release no longer works --- lib/intval/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/intval/index.js b/lib/intval/index.js index 2ff04e7..95d03a7 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -113,7 +113,6 @@ intval._undeclarePins = function (e) { intval._startFwd = function () { intval._pin.fwd.writeSync(1) intval._pin.bwd.writeSync(0) - //start high-cpu watch } /** * Start motor in backward direction by setting correct pins in h-bridge @@ -206,7 +205,7 @@ intval._watchRelease = function (err, val) { if (err) { return log.error(err) } - //log.info(`Release switch val: ${val}`) + log.info(`Release switch val: ${val}`) if (val === 0) { //closed if (intval._releaseClosedState(now)) {