V2.09 使用任务插槽设置电阻校准值成功

This commit is contained in:
ranchuan
2023-12-20 18:27:37 +08:00
parent ddf40324f7
commit d709a522ea
12 changed files with 127 additions and 18 deletions

View File

@@ -208,8 +208,19 @@ void CheckerExt_Slot(void)
/*rc{
写电阻校准值
par0:电阻校准值
ret:无
}*/
void CheckerExt_SetCbv(void)
{
int cbv=checker_runcfg.params[0];
int self_index=checker_runcfg.task_info.runindex;
elec_write_resistor_cbv(cbv);
Checker_MaskResult(0,self_index);
}
@@ -220,5 +231,6 @@ CheckerTask exttaskArray[CHECKER_EXTID_COUNT]={
CheckerExt_Repeat,
CheckerExt_SetUID,
CheckerExt_Slot,
CheckerExt_SetCbv,
};