use the microdelay to prevent multiple frames

This commit is contained in:
mmcw-dev 2017-12-20 22:30:48 -05:00
parent c36c0ab598
commit 0b48dc87b4
1 changed files with 2 additions and 2 deletions

View File

@ -245,9 +245,9 @@ intval._watchMicro = function (err, val) {
if (intval._state.micro.primed && !intval._state.micro.paused && (now - intval._state.frame.start) > intval._frame.open) {
intval._state.micro.primed = false
intval._state.micro.time = 0
//setTimeout( () => {
setTimeout( () => {
intval._stop()
//}, intval._microDelay)
}, intval._microDelay)
}
}
}