收到广播命令时重新初始化定时器,can总线添加发送时长超时判断
This commit is contained in:
@@ -22,7 +22,7 @@ typedef struct __uart_def{
|
||||
int (*set_end_irq)(struct __uart_def *u,uint8_t *rx_buff,int rx_buff_size,
|
||||
void (*irq)(void *t,uint32_t len),void *t);
|
||||
int (*read)(struct __uart_def *u,uint8_t *b,int len);
|
||||
int (*write)(struct __uart_def *u,const uint8_t *b,int len);
|
||||
int (*write)(struct __uart_def *u,const uint8_t *b,int len,int timeout_ms);
|
||||
void *private_data;
|
||||
}uart_def;
|
||||
|
||||
|
Reference in New Issue
Block a user