[dali] Fix frame packing ()

Signed-off-by: Robert Schmid <r.schmid@outlook.com>
This commit is contained in:
Robert Schmid 2022-01-02 16:38:33 +01:00 committed by GitHub
parent 8eda5551d1
commit ef2454cd82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
bundles/org.openhab.binding.dali/src/main/java/org/openhab/binding/dali/internal/protocol

View File

@ -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;
}