From 55f900c9acdf4ee5192735154215b175bfcc45a4 Mon Sep 17 00:00:00 2001 From: kyz Date: Wed, 31 Dec 2025 09:09:25 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9=E8=B0=83=E8=AF=95=E5=B7=A5?= =?utf8?q?=E5=85=B7=E6=97=A5=E5=BF=97=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- QiDong/BSP/src/bsp_usart.c | 2 +- QiDong/debug_tools/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QiDong/BSP/src/bsp_usart.c b/QiDong/BSP/src/bsp_usart.c index a311ac3..0ca0519 100644 --- a/QiDong/BSP/src/bsp_usart.c +++ b/QiDong/BSP/src/bsp_usart.c @@ -504,7 +504,7 @@ u8 USART2Write(u8 *buf ,u16 len) // for(i=0;i<=len;i++) { USART_SendData(USART2,buf[i]); //ͨ¹ýUSARTxÍâÉè·¢Ë͵¥¸öÊý¾Ý - printf("%c",buf[i]); +// printf("%c",buf[i]); while(USART_GetFlagStatus(USART2,USART_FLAG_TXE)==RESET); //¼ì²éÖ¸¶¨µÄUSART±ê־λÉèÖÃÓë·ñ£¬·¢ËÍÊý¾Ý¿Õλ±ê while(USART_GetFlagStatus(USART2,USART_FLAG_TC)==RESET); //¼ì²éÖ¸¶¨µÄUSART±ê־λÉèÖÃÓë·ñ£¬·¢ËÍÊý¾Ý¿Õλ±ê } diff --git a/QiDong/debug_tools/main.py b/QiDong/debug_tools/main.py index 931ddaa..826a6a6 100644 --- a/QiDong/debug_tools/main.py +++ b/QiDong/debug_tools/main.py @@ -288,7 +288,7 @@ class page_devst( QWidget, ui_devst.Ui_Form): print( i, "--", row ) if i == 1: continue - self.y_target.append( float(row[1]) ) + self.y_target.append( float(row[1])/10.0 *6.25 ) self.y_thresold.append( float(row[3]) ) self.y_press.append( float(row[2]) ) self.y_output.append( float(row[4])/100.0 ) -- 2.34.1