与上位机测试通过

This commit is contained in:
ranchuan
2023-06-14 18:05:04 +08:00
parent 2396796578
commit 2e705692b7
19 changed files with 82 additions and 117 deletions

View File

@@ -250,9 +250,8 @@ static inline int str_is_empty_char(char c)
* 判断字符串是否是可打印,是返回1,不是返回0
*
*/
int str_is_print_str(const char *str)
int str_is_print_str(const char *str,int len)
{
int len=str_len(str);
for(int i=0;i<len;i++)
{
// 既不是空白字符也不是可打印字符