Log microswitch watch function because frames are being stopped prematurely
This commit is contained in:
parent
4d16ab8921
commit
ef77ecce83
|
@ -158,6 +158,7 @@ intval._watchMicro = function (err, val) {
|
||||||
if (err) {
|
if (err) {
|
||||||
log.error('_watchMicro', err)
|
log.error('_watchMicro', err)
|
||||||
}
|
}
|
||||||
|
log.info(`Microswitch val: ${val}`)
|
||||||
//determine when to stop
|
//determine when to stop
|
||||||
if (val === 0 && intval._state.frame.active) {
|
if (val === 0 && intval._state.frame.active) {
|
||||||
if (!intval._state.micro.primed) {
|
if (!intval._state.micro.primed) {
|
||||||
|
|
Loading…
Reference in New Issue