stephane / libmodbus

A Modbus library for Linux, Mac OS, FreeBSD and Windows
http://libmodbus.org
GNU Lesser General Public License v2.1
3.44k stars 1.75k forks source link

fix modbus quirks function definition #671

Closed 20162026 closed 1 year ago

20162026 commented 1 year ago

fix modbus_enable_quirks(...) and modbus_disable_quirkswhich(...) definitions to match their declaration. Previously they were defined with unsigned int but declared with uint32_t which fails if the types don´t match (in my case uint32_t is defined as unsigned long instead of unsinged int)

cla-bot[bot] commented 1 year ago

We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please fill https://forms.gle/5635zjphDo5JEJQSA to get added. Your document will be manually checked by the maintainer. Be patient...

stephane commented 1 year ago

Thank you.