移植到stm32f1,实现手动线赋码控制器功能

This commit is contained in:
ranchuan
2023-09-09 17:27:06 +08:00
parent 8d779a68f3
commit 7baa63de05
382 changed files with 36618 additions and 148064 deletions

View File

@@ -65,7 +65,7 @@ array_def *protu_decode(protu_def *p,array_def *data)
{
// crc校验不对
DBG_WARN("recv data check error.h_crc=%02x %02x,crc=%02x %02x",chk_a,chk_b,arr_get(data,-2),arr_get(data,-1));
str_set(p->str_err,"recv data check error.");
//str_set(p->str_err,"recv data check error.");
}
int cmd_no=arr_get(data,5)|(arr_get(data,6)<<8);
// if(p->cmd_no==cmd_no)