Skip to content

Commit

Permalink
Fix argument index in log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
bmalinowsky committed Mar 10, 2024
1 parent 9794313 commit 628dc9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/calimero/serial/TpuartConnection.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Calimero 2 - A library for KNX network access
Copyright (c) 2014, 2023 B. Malinowsky
Copyright (c) 2014, 2024 B. Malinowsky
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -684,7 +684,7 @@ else if (size >= minLength && diff > 4L * maxInterByteDelay()) {
if (frame.length >= total) {
try {
final byte[] data = in.toByteArray();
logger.log(DEBUG, "received TP1 L-Data (length {0}): {2}", frame.length,
logger.log(DEBUG, "received TP1 L-Data (length {0}): {1}", frame.length,
HexFormat.ofDelimiter(" ").formatHex(data));
consecutiveFrameDrops = -1;
if (busmon) {
Expand Down

0 comments on commit 628dc9c

Please sign in to comment.