diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-21 14:56:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-21 14:56:21 +0000 |
commit | fcfd6c4d7ca3cc8d2751652a79a08d64eb8ec5a3 (patch) | |
tree | a06bbe9986c21dae6763e584c9ab79394cb3b99b /apps/modbus/tcp/mbtcp.c | |
parent | 1dc0e8b8c5b6e03fcfcdcbc89efd512f934eaca5 (diff) | |
download | nuttx-fcfd6c4d7ca3cc8d2751652a79a08d64eb8ec5a3.tar.gz nuttx-fcfd6c4d7ca3cc8d2751652a79a08d64eb8ec5a3.tar.bz2 nuttx-fcfd6c4d7ca3cc8d2751652a79a08d64eb8ec5a3.zip |
FreeModBus is now integrated with the Nuttx configuration system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4961 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/modbus/tcp/mbtcp.c')
-rw-r--r-- | apps/modbus/tcp/mbtcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/modbus/tcp/mbtcp.c b/apps/modbus/tcp/mbtcp.c index fb06144ae..a666c17a5 100644 --- a/apps/modbus/tcp/mbtcp.c +++ b/apps/modbus/tcp/mbtcp.c @@ -29,20 +29,20 @@ */ /* ----------------------- System includes ----------------------------------*/ -#include "stdlib.h" -#include "string.h" +#include <nuttx/config.h> +#include <stdlib.h> +#include <string.h> /* ----------------------- Platform includes --------------------------------*/ #include "port.h" /* ----------------------- Modbus includes ----------------------------------*/ #include "mb.h" -#include "mbconfig.h" #include "mbtcp.h" #include "mbframe.h" #include "mbport.h" -#if MB_TCP_ENABLED > 0 +#ifdef CONFIG_MB_TCP_ENABLED /* ----------------------- Defines ------------------------------------------*/ |