summaryrefslogtreecommitdiff
path: root/apps/modbus/tcp
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-21 16:18:16 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-21 16:18:16 +0000
commitebf70f8a79eb8ef23bc1d99938768ef06c466119 (patch)
treeb6b1ed94e450700269e6113516f911b4fd7a3848 /apps/modbus/tcp
parent814d1451322bba23a1be8ffb07dc00773613c503 (diff)
downloadnuttx-ebf70f8a79eb8ef23bc1d99938768ef06c466119.tar.gz
nuttx-ebf70f8a79eb8ef23bc1d99938768ef06c466119.tar.bz2
nuttx-ebf70f8a79eb8ef23bc1d99938768ef06c466119.zip
FreeModBus now builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4963 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/modbus/tcp')
-rw-r--r--apps/modbus/tcp/Make.defs2
-rw-r--r--apps/modbus/tcp/mbtcp.c7
2 files changed, 5 insertions, 4 deletions
diff --git a/apps/modbus/tcp/Make.defs b/apps/modbus/tcp/Make.defs
index 93d4a2be0..30860be3a 100644
--- a/apps/modbus/tcp/Make.defs
+++ b/apps/modbus/tcp/Make.defs
@@ -33,7 +33,7 @@
#
############################################################################
-ifeq ($(MB_TCP_ENABLED),y)
+ifeq ($(CONFIG_MB_TCP_ENABLED),y)
CSRCS += mbtcp.c
diff --git a/apps/modbus/tcp/mbtcp.c b/apps/modbus/tcp/mbtcp.c
index a666c17a5..195a88fe9 100644
--- a/apps/modbus/tcp/mbtcp.c
+++ b/apps/modbus/tcp/mbtcp.c
@@ -37,10 +37,11 @@
#include "port.h"
/* ----------------------- Modbus includes ----------------------------------*/
-#include "mb.h"
+#include <apps/modbusmb.h>
+#include <apps/modbusmbframe.h>
+#include <apps/modbusmbport.h>
+
#include "mbtcp.h"
-#include "mbframe.h"
-#include "mbport.h"
#ifdef CONFIG_MB_TCP_ENABLED