升级小板添加结果返回,升级脚本可以修改波特率

This commit is contained in:
ranchuan
2023-08-18 18:53:09 +08:00
parent 337b970b93
commit 8d779a68f3
9 changed files with 116 additions and 31 deletions

View File

@@ -74,6 +74,7 @@ array_def *protu_decode(protu_def *p,array_def *data)
// DBG_WARN("duplicate sequence number.");
// str_set(p->str_err,"duplicate sequence number.");
// }
p->cmd_no=cmd_no;
p->cmd=arr_get(data,4);
// 数据负载
arr_delete(r);