summaryrefslogtreecommitdiff
path: root/apps/modbus
diff options
context:
space:
mode:
Diffstat (limited to 'apps/modbus')
-rw-r--r--apps/modbus/mb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/modbus/mb.c b/apps/modbus/mb.c
index 8417d1274..54e96460d 100644
--- a/apps/modbus/mb.c
+++ b/apps/modbus/mb.c
@@ -99,7 +99,7 @@ static xMBFunctionHandler xFuncHandlers[CONFIG_MB_FUNC_HANDLERS_MAX] = {
#ifdef CONFIG_MB_FUNC_OTHER_REP_SLAVEID_ENABLED
{MB_FUNC_OTHER_REPORT_SLAVEID, eMBFuncReportSlaveID},
#endif
-#ifdef CONFIG_MB_FUNC_READ_INPUT_ENABLE
+#ifdef CONFIG_MB_FUNC_READ_INPUT_ENABLED
{MB_FUNC_READ_INPUT_REGISTER, eMBFuncReadInputRegister},
#endif
#ifdef CONFIG_MB_FUNC_READ_HOLDING_ENABLED