Add logging back because release no longer works

This commit is contained in:
mmcw-dev 2017-10-21 11:52:41 -04:00
parent 19e6511559
commit e2ee307824
1 changed files with 1 additions and 2 deletions

View File

@ -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)) {