Stop resetting frame.start to 0
This commit is contained in:
parent
6218d8d585
commit
0b47713c58
|
@ -131,7 +131,6 @@ intval._stop = function () {
|
||||||
|
|
||||||
intval._pin.micro.unwatch()
|
intval._pin.micro.unwatch()
|
||||||
intval._state.frame.active = false
|
intval._state.frame.active = false
|
||||||
intval._state.frame.start = 0
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Callback for watching relese switch state changes.
|
* Callback for watching relese switch state changes.
|
||||||
|
@ -215,7 +214,6 @@ intval._watchRelease = function (err, val) {
|
||||||
intval._state.release.active = false
|
intval._state.release.active = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.info('completed if statement')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
intval._releaseClosedState = function (now) {
|
intval._releaseClosedState = function (now) {
|
||||||
|
|
Loading…
Reference in New Issue