Log microswitch watch function because frames are being stopped prematurely

This commit is contained in:
mmcw-dev 2017-10-20 20:10:38 -04:00
parent 4d16ab8921
commit ef77ecce83
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ intval._watchMicro = function (err, val) {
if (err) {
log.error('_watchMicro', err)
}
log.info(`Microswitch val: ${val}`)
//determine when to stop
if (val === 0 && intval._state.frame.active) {
if (!intval._state.micro.primed) {