Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit e2ee307824 - Show all commits

View File

@ -113,7 +113,6 @@ intval._undeclarePins = function (e) {
intval._startFwd = function () { intval._startFwd = function () {
intval._pin.fwd.writeSync(1) intval._pin.fwd.writeSync(1)
intval._pin.bwd.writeSync(0) intval._pin.bwd.writeSync(0)
//start high-cpu watch
} }
/** /**
* Start motor in backward direction by setting correct pins in h-bridge * Start motor in backward direction by setting correct pins in h-bridge
@ -206,7 +205,7 @@ intval._watchRelease = function (err, val) {
if (err) { if (err) {
return log.error(err) return log.error(err)
} }
//log.info(`Release switch val: ${val}`) log.info(`Release switch val: ${val}`)
if (val === 0) { if (val === 0) {
//closed //closed
if (intval._releaseClosedState(now)) { if (intval._releaseClosedState(now)) {