summaryrefslogtreecommitdiff
path: root/apps/modbus/tcp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/modbus/tcp')
-rw-r--r--apps/modbus/tcp/mbtcp.c2
-rw-r--r--apps/modbus/tcp/mbtcp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/modbus/tcp/mbtcp.c b/apps/modbus/tcp/mbtcp.c
index c71fdc34a..d47da0a12 100644
--- a/apps/modbus/tcp/mbtcp.c
+++ b/apps/modbus/tcp/mbtcp.c
@@ -160,4 +160,4 @@ eMBErrorCode eMBTCPSend(uint8_t _unused, const uint8_t * pucFrame, uint16_t usLe
return eStatus;
}
-#endif
+#endif /* CONFIG_MB_TCP_ENABLED */
diff --git a/apps/modbus/tcp/mbtcp.h b/apps/modbus/tcp/mbtcp.h
index 9a133f29c..c87e19326 100644
--- a/apps/modbus/tcp/mbtcp.h
+++ b/apps/modbus/tcp/mbtcp.h
@@ -43,7 +43,7 @@ PR_BEGIN_EXTERN_C
#define MB_TCP_PSEUDO_ADDRESS 255
/****************************************************************************
- * Public Function Protototypes
+ * Public Function Prototypes
****************************************************************************/
eMBErrorCode eMBTCPDoInit(uint16_t ucTCPPort);