mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[dali] Fix frame packing (#11936)
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
This commit is contained in:
parent
8eda5551d1
commit
ef2454cd82
@ -67,7 +67,7 @@ public class DaliFrame {
|
|||||||
byte[] result = new byte[bytesList.size()];
|
byte[] result = new byte[bytesList.size()];
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (byte b : bytesList) {
|
for (byte b : bytesList) {
|
||||||
result[bytesList.size() - i++] = b;
|
result[bytesList.size() - ++i] = b;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user