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

心跳数据在收到回复之后也会继续发送
    芯片异常时不检测电容
    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

@@ -252,6 +252,9 @@ static inline int str_is_empty_char(char c)
*/
int str_is_print_str(const char *str,int len)
{
if(len==0){
return 0;
}
for(int i=0;i<len;i++)
{
// 既不是空白字符也不是可打印字符