V0.08 解决任务执行次数异常的bug,原因是每次执行任务未更新任务结构体指针

此bug在V2.06版本被引入
解决 EW_Test_ReadUID 函数数组越界的问题
添加 总线翻转任务 JQ_Test_Toggle
This commit is contained in:
ranchuan
2023-12-13 18:28:38 +08:00
parent aeb0e4c206
commit 3909bc13a2
15 changed files with 147 additions and 102 deletions

View File

@@ -440,6 +440,7 @@ int elec_check_load_task_param(uint8_t task_index)
}
// 装载参数
s->task_par=task_par;
memcpy(&checker_runcfg.task_info,task_par,sizeof(CheckerTask_Info_st));
checker_runcfg.param_count = checker_runcfg.task_info.param_rtv_count & 0x0F;
checker_runcfg.rtv_count = (checker_runcfg.task_info.param_rtv_count >> 4) & 0x0F;
@@ -509,6 +510,7 @@ void elec_exe_task(void)
if(s->task_fun==0){
return;
}
DBG_LOG("start task_index:%d",s->task_index);
for(int i=0;i<1+s->task_par->retry_time;i++)
{
checker_runcfg.excue_rtv=1;