取消急停时如果不在空闲状态才跳到另一侧

心跳数据在收到回复之后也会继续发送
    芯片异常时不检测电容
    str_is_print_str 函数中,len为0时返回0
    改版本号为0.03
This commit is contained in:
ranchuan
2023-09-20 18:30:04 +08:00
parent efd4983bcb
commit bf440a35bc
9 changed files with 52 additions and 11 deletions

View File

@@ -280,6 +280,10 @@ uint8_t coder_judge_jq(const uint8_t *data)
return 8;
}
// 芯片异常时直接报芯片异常
if(chip_err)
return chip_err;
// 检测电容
TASK_FIND_NEXT(11);
temp=TASK_DATA(1);
@@ -293,6 +297,18 @@ uint8_t coder_judge_jq(const uint8_t *data)
return 2;
}
// 检测桥丝
// TASK_FIND_NEXT(11);
// temp=TASK_DATA(1);
// if(get_ack(data,index)){
// return 4;
// }
// if((temp>task->range[1].max)||(temp<task->range[1].min))
// {
// return 4;
// }
return chip_err;
}