[Minor] added logger when enabling interrupt fix
This commit is contained in:
parent
aaf2e1a149
commit
ea65b72e55
|
@ -157,6 +157,7 @@ public class PCF8574InputConnection extends SimplePlcConnection {
|
||||||
if (this.enableInterruptFix) {
|
if (this.enableInterruptFix) {
|
||||||
this.interruptFixTask = this.plc.getExecutorPool().getScheduledExecutor("InterruptFix")
|
this.interruptFixTask = this.plc.getExecutorPool().getScheduledExecutor("InterruptFix")
|
||||||
.scheduleWithFixedDelay(this::checkInterruptPin, 1, 1, TimeUnit.SECONDS);
|
.scheduleWithFixedDelay(this::checkInterruptPin, 1, 1, TimeUnit.SECONDS);
|
||||||
|
logger.info("Enabled Interrupt Fix Task.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return ok && super.connect();
|
return ok && super.connect();
|
||||||
|
|
Loading…
Reference in New Issue