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 1 deletions
Showing only changes of commit 58267bf71c - Show all commits

View File

@ -122,7 +122,6 @@ intval._startBwd = function () {
intval._pause = function () {
intval._pin.fwd.writeSync(0)
intval._pin.fwd.writeSync(0)
intval._state.micro.paused = true
}
/**
* Stop motor by setting both motor pins to 0 (LOW)
@ -288,6 +287,7 @@ intval.frame = function (dir = null, time = null) {
intval._startBwd()
}
if (time !== 0) {
intval._state.micro.paused = true
setTimeout(intval._pause, intval._state.frame.open)
if (dir) {
log.info('frame', { pausing : time - intval._state.frame.open })