添加通用的异常判断算法

This commit is contained in:
ranchuan
2023-10-30 18:38:01 +08:00
parent 0471a91c84
commit 873029149d
12 changed files with 604 additions and 69 deletions

View File

@@ -7,6 +7,7 @@
#include "dev_flash.h"
#include "compiler_info.h"
#include "elec_judge.h"
#include "elec_det.h"
#include "base/delay.h"
#include "base/utility.h"
@@ -439,6 +440,9 @@ array_def *elec_check_with_scheme(array_def *uid_psw)
}
}
elec_judge_def *e=malloc(sizeof(elec_judge_def));
elec_judge(e,checker_runcfg.rtv_index,checker_runcfg.Task_Result,(uint8_t *)checker_runcfg.Test_Rtv);
free(e);
arr_append(r,0);
arr_appends(r,checker_runcfg.Task_Result,8);
arr_appends(r,checker_runcfg.Task_Excute,8);