V0.08 解决任务执行次数异常的bug,原因是每次执行任务未更新任务结构体指针
此bug在V2.06版本被引入 解决 EW_Test_ReadUID 函数数组越界的问题 添加 总线翻转任务 JQ_Test_Toggle
This commit is contained in:
@@ -28,7 +28,7 @@ typedef struct{
|
||||
task_node *head;
|
||||
task_node *current;
|
||||
int err_num;
|
||||
uint8_t err_table[ERR_TABLE_SIZE]
|
||||
uint8_t err_table[ERR_TABLE_SIZE];
|
||||
}task_slot_def;
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ int task_slot_add_err(void *context,uint8_t err)
|
||||
if(index<0) index=i;
|
||||
}
|
||||
if(t->err_table[i]==err){
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
if(index>=0){
|
||||
|
Reference in New Issue
Block a user