Skip to content

Commit

Permalink
fixed small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Jun 28, 2018
1 parent a7cc186 commit 4fe91d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Plc4XModbusProtocol() {
@Override
protected void encode(ChannelHandlerContext ctx, PlcRequestContainer<PlcRequest, PlcResponse> msg, List<Object> out) throws Exception {
LOGGER.trace("(<--OUT): {}, {}, {}", ctx, msg, out);
// Reset tranactionId on overflow
// Reset transactionId on overflow
transactionId.compareAndSet(Short.MAX_VALUE + 1, 0);
PlcRequest request = msg.getRequest();
if (request instanceof PlcReadRequest) {
Expand Down

0 comments on commit 4fe91d0

Please sign in to comment.