Push dev work to master #2
|
@ -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