summaryrefslogtreecommitdiff
path: root/apps/modbus/tcp
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-04-07 16:12:49 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-04-07 16:12:49 -0600
commit2e75e1296c3dd3b28cb3de582100c7afbb6c0743 (patch)
tree094033c179564f4e9ebc80b40800f997b3990f8d /apps/modbus/tcp
parentb7404a8149bbe0a80991c2d496602bd4cba3f4b0 (diff)
downloadpx4-nuttx-2e75e1296c3dd3b28cb3de582100c7afbb6c0743.tar.gz
px4-nuttx-2e75e1296c3dd3b28cb3de582100c7afbb6c0743.tar.bz2
px4-nuttx-2e75e1296c3dd3b28cb3de582100c7afbb6c0743.zip
Modbus: changes to more C file to make them more compatible with NuttX coding style
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);