From 21a33d9b7ae904fbbdeb5669dfefada24a54c381 Mon Sep 17 00:00:00 2001 From: Stefan Kolb Date: Thu, 24 Sep 2015 06:38:07 -0600 Subject: [PATCH] Fix modbus compile error if CONFIG_MB_FUNC_READ_DISCRETE_INPUTS_ENABLED is enabled --- ChangeLog.txt | 0 modbus/functions/mbfuncdisc.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 ChangeLog.txt 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;