feat: 完成扫描建网的修改, 移除建网状态机, 收到入网帧即入网
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
/***************************** Include Files *********************************/
|
||||
#include <stdint.h>
|
||||
/************************** Constant Definitions *****************************/
|
||||
#define TIME_FRAC_MAX 500000 // how many 10ns in a 5ms
|
||||
#define TIME_FRAC_MAX 200000 // how many 10ns in a 2 ms
|
||||
/***************** Macros (Inline Functions) Definitions *********************/
|
||||
/**************************** Type Definitions *******************************/
|
||||
/**
|
||||
@@ -44,8 +44,8 @@ typedef uint32_t TIME_INT;
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
TIME_INT int_part; ///< 5ms each LSB
|
||||
TIME_FRAC frac_part; ///< 10ns each LSB
|
||||
TIME_INT int_part; ///< 2 ms each LSB
|
||||
TIME_FRAC frac_part; ///< 10 ns each LSB
|
||||
} TIME_WORD;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user