We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can you please change the function signature for modbus_send_raw_request() from
MODBUS_API int modbus_send_raw_request(modbus_t *ctx, uint8_t *raw_req, int raw_req_length);
to
MODBUS_API int modbus_send_raw_request(modbus_t *ctx, const uint8_t *raw_req, int raw_req_length);
The function does not change the content of the passed buffe raw_reqr, therefore it should be const qualified.
The text was updated successfully, but these errors were encountered:
e4fb46f
Agree. Done. Thank you
Sorry, something went wrong.
Mark raw_req argument as const in modbus_send_raw_request (closes ste…
c7f6e85
…phane#479)
No branches or pull requests
Can you please change the function signature for modbus_send_raw_request() from
to
The function does not change the content of the passed buffe raw_reqr, therefore it should be const qualified.
The text was updated successfully, but these errors were encountered: