Add logging back because release no longer works
This commit is contained in:
parent
19e6511559
commit
e2ee307824
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue