V0.04
修改方案结构体为节约存储空间版本,与之前的updata软件不兼容 修改打标时间为5s 打标结束时亮绿灯
This commit is contained in:
@@ -391,7 +391,6 @@ static void process_end_slot(void *obj,int ack,array_def *data)
|
||||
s->busy=0;
|
||||
return;
|
||||
}else{
|
||||
SET_LED_OK();
|
||||
}
|
||||
// 保存到内部存储
|
||||
if(s->code_data){
|
||||
@@ -411,7 +410,7 @@ static void process_end_slot(void *obj,int ack,array_def *data)
|
||||
|
||||
// 5s 后打标结束
|
||||
void process_mark_end(void *arg);
|
||||
later_execute(process_mark_end,s,2300);
|
||||
later_execute(process_mark_end,s,5300);
|
||||
|
||||
process_send_errstr(s,10,"开始打标");
|
||||
}
|
||||
@@ -449,6 +448,7 @@ static void process_mark_end(void *arg)
|
||||
RESET_STEP(s->step);
|
||||
s->busy=0;
|
||||
|
||||
SET_LED_OK();
|
||||
DBG_LOG("mark end.");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user