[modbus]fix port file's head file.
This commit is contained in:
parent
7355879119
commit
dec67c3a29
|
@ -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)
|
||||
|
|
|
@ -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 ---------------------------------*/
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue