debevv / nanoMODBUS

A compact MODBUS RTU/TCP C library for embedded/microcontrollers
MIT License
282 stars 58 forks source link

Configuration define error #52

Closed awe-obdo closed 3 months ago

awe-obdo commented 4 months ago

v1.17.1

Hi, There is an error on a configuration define in the handle_req_fc function, line 1763. Currently:

#ifndef NMBS_SERVER_WRITE_MULTIPLE_COILS_DISABLED

Should be:

#ifndef NMBS_SERVER_READ_COILS_DISABLED

Regards, Alain.

debevv commented 3 months ago

Fixedin f0a4374ac5fe58a5e3583bccb352be140fc36b73, thank you