Remove excessive log point to make them less noisy.
This commit is contained in:
parent
e745ce404d
commit
94e6982adb
|
@ -270,7 +270,7 @@ class Intval {
|
||||||
if (!this._micro.primed) {
|
if (!this._micro.primed) {
|
||||||
this._micro.primed = true;
|
this._micro.primed = true;
|
||||||
this._micro.time = now;
|
this._micro.time = now;
|
||||||
log.info('Microswitch primed to stop motor');
|
//log.info('Microswitch primed to stop motor');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (val === 1 && this._state.frame.active) {
|
else if (val === 1 && this._state.frame.active) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -324,7 +324,7 @@ export default class Intval {
|
||||||
if (!this._micro.primed) {
|
if (!this._micro.primed) {
|
||||||
this._micro.primed = true;
|
this._micro.primed = true;
|
||||||
this._micro.time = now;
|
this._micro.time = now;
|
||||||
log.info('Microswitch primed to stop motor');
|
//log.info('Microswitch primed to stop motor');
|
||||||
}
|
}
|
||||||
} else if (val === 1 && this._state.frame.active) {
|
} else if (val === 1 && this._state.frame.active) {
|
||||||
if (this._micro.primed && !this._micro.paused && (now - this._state.frame.start) > this._frame.open) {
|
if (this._micro.primed && !this._micro.paused && (now - this._state.frame.start) > this._frame.open) {
|
||||||
|
|
Loading…
Reference in New Issue