使用定时器来精确控制数据发送的时间间隙,保证和其他小板不冲突
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/*
|
||||
* @text: 测试
|
||||
*/
|
||||
#ifndef prot_uc_h__
|
||||
#define prot_uc_h__
|
||||
|
||||
@@ -32,6 +35,7 @@ struct _protu_def{
|
||||
int is_big_data;
|
||||
codec_item *codec;
|
||||
int silent;// 此项为1,不返回数据
|
||||
timer_def *timer;
|
||||
};
|
||||
typedef struct _protu_def protu_def;
|
||||
|
||||
|
Reference in New Issue
Block a user