Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dali] Fix frame packing #11936

Merged
merged 1 commit into from
Jan 2, 2022
Merged

[dali] Fix frame packing #11936

merged 1 commit into from
Jan 2, 2022

Conversation

rs22
Copy link
Contributor

@rs22 rs22 commented Jan 2, 2022

Signed-off-by: Robert Schmid r.schmid@outlook.com

This fixes an out-of-range bug that prevented DALI frames from being created.
(The counter variable that helps in copying bytes from a list into an array in reverse order should be 1 in the first loop iteration.)

This bug was introduced when I incorporated change requests as part of my original PR for the binding, and I somehow missed to test this afterwards.
With this fix, the binding works as expected. 😅

Happy new year!

Signed-off-by: Robert Schmid <r.schmid@outlook.com>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lolodomo lolodomo merged commit ef2454c into openhab:main Jan 2, 2022
@lolodomo lolodomo added the bug An unexpected problem or unintended behavior of an add-on label Jan 2, 2022
@lolodomo lolodomo added this to the 3.3 milestone Jan 2, 2022
@rs22 rs22 deleted the fix-dali-frame-pack branch January 3, 2022 10:42
mischmidt83 pushed a commit to mischmidt83/openhab-addons that referenced this pull request Jan 9, 2022
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
Signed-off-by: Michael Schmidt <mi.schmidt.83@gmail.com>
moesterheld pushed a commit to moesterheld/openhab-addons that referenced this pull request Jan 18, 2022
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jan 28, 2022
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Apr 27, 2022
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
andrasU pushed a commit to andrasU/openhab-addons that referenced this pull request Nov 12, 2022
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants