NULL
This commit is contained in:
5
user/Protocol/MODBUS.h
Executable file → Normal file
5
user/Protocol/MODBUS.h
Executable file → Normal file
@@ -1,10 +1,6 @@
|
||||
#ifndef __MODBUS_h__
|
||||
#define __MODBUS_h__
|
||||
|
||||
#define MAX 0
|
||||
#define MIN 1
|
||||
#define DEFAULT 2
|
||||
//******************************************************************************
|
||||
typedef struct
|
||||
{
|
||||
u16 StartAddr;
|
||||
@@ -39,6 +35,7 @@ typedef struct
|
||||
#define SLAVER_ADDR_MIN 1
|
||||
|
||||
//******************************************************************************
|
||||
#define SLAVER_ID 0
|
||||
#define FUNCTION_CODE 1
|
||||
|
||||
//******************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user