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

Decode0110: fix decoding loop #1676

Merged

Conversation

thertp
Copy link
Contributor

@thertp thertp commented Nov 20, 2023

The loop is using range(24, len(MsgData), 4) to generate iterator value instead of relying the current index value leading to wrong decoding.

The loop is using range(24, len(MsgData), 4) to generate iterator
value instead of relying the current index value.

Signed-off-by: Arnaud Patard <[email protected]>
@pipiche38 pipiche38 changed the base branch from stable7 to wip-stable-7.1.6 November 21, 2023 07:44
@pipiche38
Copy link
Collaborator

Good catch

@pipiche38 pipiche38 merged commit cf34715 into zigbeefordomoticz:wip-stable-7.1.6 Nov 21, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants