Merge branch 'master' of schwann.lupus:/git/java/org.hwo.servicelink
commit
b27124b8eb
|
@ -323,6 +323,7 @@ public class ServiceLink implements NewSerialPortListener {
|
|||
}
|
||||
rx = ServiceLinkTelegram.read(getSerialPort().getInputStream());
|
||||
if (rx != null){
|
||||
log(DEBUG,"RX: %s", rx.getAddress());
|
||||
received(rx);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,10 @@ public class ServiceLinkAddress {
|
|||
this.ax = ax;
|
||||
this.node = node;
|
||||
this.register = register;
|
||||
|
||||
if (this.register < 0){
|
||||
this.register += 65536;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue