From: kyz Date: Wed, 31 Dec 2025 01:09:25 +0000 (+0800) Subject: 修改调试工具日志处理 X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=55f900c9acdf4ee5192735154215b175bfcc45a4;p=yn%2Fyn-qdbs.git 修改调试工具日志处理 --- 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 )