From 2ded79544bb0ff4877ae66351fe82ddce0cf56d0 Mon Sep 17 00:00:00 2001 From: ranchuan Date: Thu, 20 Feb 2025 15:17:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=B8=B2=E5=8F=A3=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=AD=97=E7=AC=A6=E4=B9=B1=E7=A0=81=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=85=A8=E9=83=A8=E6=89=93=E5=8D=B0=E5=BC=82=E5=B8=B8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kunlun.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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