From 335c12cf6a821f079e6b151f9c8d3c9c978dceb9 Mon Sep 17 00:00:00 2001 From: HelixCopex Date: Fri, 27 Mar 2026 05:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=B2=E5=8F=A3=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- others/src/serial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/others/src/serial.cpp b/others/src/serial.cpp index d2b599f..0ca3991 100644 --- a/others/src/serial.cpp +++ b/others/src/serial.cpp @@ -181,7 +181,7 @@ bool Serial::ReadData(unsigned char *buffer, unsigned int length) { using namespace std; string get_uart_dev_name() { - FILE *ls = popen("ls /dev/ttyCH341USB* --color=never", "r"); + FILE *ls = popen("ls /dev/ttyCH340 --color=never", "r"); char name[20] = {0}; fscanf(ls, "%s", name); return name;