From 7eb19e6024af7f05cf94c66fb843439a3509147e Mon Sep 17 00:00:00 2001 From: QuakeGod <quakegod@sina.com> Date: 星期一, 02 九月 2024 15:30:40 +0800 Subject: [PATCH] 2024-09-02 --- ComLib/Inc/GlobalDef.h | 19 +------------------ 1 files changed, 1 insertions(+), 18 deletions(-) diff --git a/ComLib/Inc/GlobalDef.h b/ComLib/Inc/GlobalDef.h index d77f82a..7a05e85 100644 --- a/ComLib/Inc/GlobalDef.h +++ b/ComLib/Inc/GlobalDef.h @@ -11,11 +11,8 @@ #include "BoardType.h" #include "MyQueue.h" -#define DefaultUart1Baud 115200 -#define DefaultUart2Baud 1000000 -#define AlterUart2Baud 500000 -extern volatile int PendSvCount; + #pragma anon_unions typedef struct tagUartStat @@ -61,21 +58,7 @@ extern stUartStat Uart1Stat; extern stUartStat Uart2Stat; -#define Uart1RecvBufSize 256 -extern unsigned int Uart1Baud; -extern unsigned int Uart2Baud; - -extern unsigned char Uart1RecvBuf1[Uart1RecvBufSize]; -extern int Uart1RecvBuf1DataLen; - - -extern unsigned char Uart2RecvBuf1[128]; -extern int Uart2RecvBuf1DataLen; - - -extern volatile int Uart1BaudGot; -extern volatile int Uart1BaudFirstGot; //extern volatile int Uart2BaudGot; //extern volatile int Uart2BaudFirstGot; -- Gitblit v1.9.1