#define MODBUSRTU_DEBUG seems to have no effect when defined outside ModbusSettings.h
fredlcore opened this issue · comments
I wanted to turn on debug messages and thus added #define MODBUSRTU_DEBUG
before #include <ModbusRTU.h>
.
However, this does not seem to have any effect. Only if I enable the definement in ModbusSettings.h it will take effect. Do I do anything wrong here?
Same for me did found a solution