[modbus]fix port file's head file.

This commit is contained in:
armink 2015-02-05 20:54:32 +08:00
parent 7355879119
commit dec67c3a29
3 changed files with 2 additions and 4 deletions

View File

@ -25,7 +25,7 @@
#include "mb.h"
#include "mbport.h"
#include "rtdevice.h"
#include "bsp.h"
#include "board.h"
/* ----------------------- Static variables ---------------------------------*/
ALIGN(RT_ALIGN_SIZE)

View File

@ -25,7 +25,7 @@
#include "mb.h"
#include "mbport.h"
#include "rtdevice.h"
#include "bsp.h"
#include "board.h"
#if MB_MASTER_RTU_ENABLED > 0 || MB_MASTER_ASCII_ENABLED > 0
/* ----------------------- Static variables ---------------------------------*/

View File

@ -18,8 +18,6 @@
#define S_REG_HOLDING_NREGS 100
/* salve mode: holding register's all address */
#define S_HD_RESERVE 0
#define S_HD_CPU_USAGE_MAJOR 1
#define S_HD_CPU_USAGE_MINOR 2
/* salve mode: input register's all address */
#define S_IN_RESERVE 0
/* salve mode: coil's all address */