From 842bb64195f958b050867c50db66fc0aa413dafb Mon Sep 17 00:00:00 2001
From: QuakeGod <quakegod@sina.com>
Date: 星期六, 27 七月 2024 10:42:56 +0800
Subject: [PATCH] KBus upgrade

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

diff --git a/ComLib/Src/GlobalDef.c b/ComLib/Src/GlobalDef.c
index 80d0783..33a43f7 100644
--- a/ComLib/Src/GlobalDef.c
+++ b/ComLib/Src/GlobalDef.c
@@ -17,15 +17,15 @@
 unsigned int Uart1Baud = DefaultUart1Baud;
 unsigned int Uart2Baud = DefaultUart2Baud;
 
-unsigned char Uart1RecvBuf1[128];
+unsigned char Uart1RecvBuf1[Uart1RecvBufSize];
 int Uart1RecvBuf1DataLen=0;
-unsigned char Uart1RecvBuf2[128];
-int Uart1RecvBuf2DataLen=0;
+//unsigned char Uart1RecvBuf2[128];
+//int Uart1RecvBuf2DataLen=0;
 
 unsigned char Uart2RecvBuf1[128];
 int Uart2RecvBuf1DataLen=0;
-unsigned char Uart2RecvBuf2[128];
-int Uart2RecvBuf2DataLen=0;
+//unsigned char Uart2RecvBuf2[128];
+//int Uart2RecvBuf2DataLen=0;
 
 volatile int Uart1BaudGot=0;
 volatile int Uart1BaudFirstGot=0;

--
Gitblit v1.9.1