Skip to content

ModbusSlaveContext, remove zero_mode parameter. #2354

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
Oct 4, 2024

Conversation

janiversen
Copy link
Collaborator

No description provided.

@janiversen janiversen merged commit ecb41ec into wait_next_api Oct 4, 2024
1 check passed
@janiversen janiversen deleted the remove_zero_mode branch October 4, 2024 17:40
janiversen added a commit that referenced this pull request Oct 26, 2024
@smurfix
Copy link
Contributor

smurfix commented Apr 14, 2025

Sigh what's the rationale for this change?

My codebase contains a data store which pretty much depends on accesses to it being zero-based, and now I need to refactor that rather intrusively …

@janiversen
Copy link
Collaborator Author

I do not think there needs to be a rationale to be discussed publicly !

Why do you need to "refactor that rather intrusively", you make a new class that inherits from ModbusSlaveContext, and does whatever you need done.

Anyhow ModbusSlaveContext is really very old with a number of nasty problems, so it is in the process of being replaced by a datastore that is more flexible and powerful.

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.

None yet

2 participants