diff --git a/kunlun.py b/kunlun.py index 79e2c15..1064e52 100644 --- a/kunlun.py +++ b/kunlun.py @@ -120,9 +120,17 @@ def download_callback(total_packets, success_count, error_count): # 打印串口收到的字符 def print_device_str(data:bytearray): data=data.replace(b"\r\n",b"\n") + index=0 + while index