差异
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef __MODBUS_h__
|
||||
#define __MODBUS_h__
|
||||
|
||||
#define MAX 0
|
||||
#define MIN 1
|
||||
#define DEFAULT 2
|
||||
//******************************************************************************
|
||||
typedef struct
|
||||
{
|
||||
u16 StartAddr;
|
||||
@@ -35,7 +39,6 @@ typedef struct
|
||||
#define SLAVER_ADDR_MIN 1
|
||||
|
||||
//******************************************************************************
|
||||
#define SLAVER_ID 0
|
||||
#define FUNCTION_CODE 1
|
||||
|
||||
//******************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user