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

the problem with 'to_send' #22

Open
planetixin opened this issue Apr 7, 2022 · 1 comment
Open

the problem with 'to_send' #22

planetixin opened this issue Apr 7, 2022 · 1 comment

Comments

@planetixin
Copy link

visual studio says that " Using uninitialized memory 'to_send' " and " potentially uninitialized local pointer variable 'to_send' used ". Because of that I can't send anything to my registers, but only read.

@VIRGZ77
Copy link

VIRGZ77 commented Sep 26, 2023

move line 330 "delete[ ] to_send" from the end of int modbus::modbus_write(...) and place it within each of the 3 individual if condition blocks.

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

No branches or pull requests

2 participants