Restore logging for microswitch state
This commit is contained in:
parent
30e8636ea8
commit
01f17830f8
|
@ -236,7 +236,7 @@ intval._watchMicro = function (err, val) {
|
|||
if (err) {
|
||||
log.error('_watchMicro', err)
|
||||
}
|
||||
//log.info(`Microswitch val: ${val}`)
|
||||
log.info(`Microswitch val: ${val}`)
|
||||
//determine when to stop
|
||||
if (val === 0 && intval._state.frame.active) {
|
||||
if (!intval._state.micro.primed) {
|
||||
|
|
Loading…
Reference in New Issue