Skip to content

Fixed non-initialization of index variable in poll() #13

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

Merged
merged 1 commit into from
May 28, 2025

Conversation

AlexSeferidis
Copy link
Contributor

I was having errors with my server writing multiple registers and coils on poll() calls. This was fixed by initialising i for their respective function-code for loops

I was having errors with my server writing multiple registers and coils on poll() calls. This was fixed by initialising i for their respective function-code for loops
@vishnumaiea vishnumaiea merged commit 284dade into CIRCUITSTATE:main May 28, 2025
@vishnumaiea vishnumaiea changed the title fixed uninitialisation of 'i' in multiple reg and coil writing Fixed non-initialisation of index variable in poll() May 28, 2025
@vishnumaiea vishnumaiea changed the title Fixed non-initialisation of index variable in poll() Fixed non-initialization of index variable in poll() May 28, 2025
vishnumaiea added a commit that referenced this pull request May 28, 2025
- Merged PR [#13](#13) from [@AlexSeferidis](https://github.com/AlexSeferidis).
  - This fixes the non-initialization of `i` index variable in multiple loops in `poll()` function.
  - This was presumably causing the issue reported in [Issue #12](#11)
- Updated file meta formats.
- New Version 🆕 `0.0.9`.
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