提交 dec67c3a 编写于 作者: armink_ztl's avatar armink_ztl

[modbus]fix port file's head file.

上级 73558791
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册