diff --git a/bundles/org.openhab.binding.dali/src/main/java/org/openhab/binding/dali/internal/protocol/DaliFrame.java b/bundles/org.openhab.binding.dali/src/main/java/org/openhab/binding/dali/internal/protocol/DaliFrame.java index ba6b714d841..21591898c6f 100644 --- a/bundles/org.openhab.binding.dali/src/main/java/org/openhab/binding/dali/internal/protocol/DaliFrame.java +++ b/bundles/org.openhab.binding.dali/src/main/java/org/openhab/binding/dali/internal/protocol/DaliFrame.java @@ -67,7 +67,7 @@ public class DaliFrame { byte[] result = new byte[bytesList.size()]; int i = 0; for (byte b : bytesList) { - result[bytesList.size() - i++] = b; + result[bytesList.size() - ++i] = b; } return result; }