diff --git a/ChangeLog.txt b/ChangeLog.txt old mode 100755 new mode 100644 diff --git a/modbus/functions/mbfuncdisc.c b/modbus/functions/mbfuncdisc.c index 79cfacd94..3919b2915 100644 --- a/modbus/functions/mbfuncdisc.c +++ b/modbus/functions/mbfuncdisc.c @@ -62,7 +62,7 @@ eMBException prveMBError2Exception(eMBErrorCode eErrorCode); * Public Functions ****************************************************************************/ -#ifdef CONFIG_MB_FUNC_READ_COILS_ENABLED +#ifdef CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED eMBException eMBFuncReadDiscreteInputs(uint8_t *pucFrame, uint16_t *usLen) { uint16_t usRegAddress;