From 7d8ba5df7d883c86c24aa38449c4a6dd126e920f Mon Sep 17 00:00:00 2001
From: QuakeGod <quakegod@sina.com>
Date: 星期二, 06 八月 2024 14:41:31 +0800
Subject: [PATCH] Radio_LLCC68 1.15, Stable version

---
 ComLib/Src/GlobalDef.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ComLib/Src/GlobalDef.c b/ComLib/Src/GlobalDef.c
index 33a43f7..5eaa151 100644
--- a/ComLib/Src/GlobalDef.c
+++ b/ComLib/Src/GlobalDef.c
@@ -18,21 +18,21 @@
 unsigned int Uart2Baud = DefaultUart2Baud;
 
 unsigned char Uart1RecvBuf1[Uart1RecvBufSize];
-int Uart1RecvBuf1DataLen=0;
+unsigned short Uart1RecvBuf1DataLen=0;
 //unsigned char Uart1RecvBuf2[128];
 //int Uart1RecvBuf2DataLen=0;
 
 unsigned char Uart2RecvBuf1[128];
-int Uart2RecvBuf1DataLen=0;
+unsigned short Uart2RecvBuf1DataLen=0;
 //unsigned char Uart2RecvBuf2[128];
 //int Uart2RecvBuf2DataLen=0;
 
-volatile int Uart1BaudGot=0;
-volatile int Uart1BaudFirstGot=0;
-volatile int Uart1DmaInts=0;
-volatile int Uart2BaudGot=0;
-volatile int Uart2BaudFirstGot=0;
-volatile int Uart2DmaInts=0;
+volatile char Uart1BaudGot=0;
+volatile char Uart1BaudFirstGot=0;
+volatile char Uart1DmaInts=0;
+volatile char Uart2BaudGot=0;
+volatile char Uart2BaudFirstGot=0;
+volatile char Uart2DmaInts=0;
 
 volatile int SysConfigs;
 

--
Gitblit v1.9.1