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/Src/stm32f0xx_it.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ComLib/Src/stm32f0xx_it.c b/ComLib/Src/stm32f0xx_it.c
index c8006ab..032448e 100644
--- a/ComLib/Src/stm32f0xx_it.c
+++ b/ComLib/Src/stm32f0xx_it.c
@@ -254,8 +254,8 @@
 		// PushOne(&Uart1Stat.QRx,ch);
 		Uart1Stat.RecvBytes++;
 		
-		Uart1RecvBuf1[Uart1RecvBuf1DataLen]=ch;
-		if (Uart1RecvBuf1DataLen < Uart1RecvBufSize -1 ) {Uart1RecvBuf1DataLen++;}
+		Uart1RxBuf1[Uart1RxBuf1DataLen]=ch;
+		if (Uart1RxBuf1DataLen < Uart1RxBufSize -1 ) {Uart1RxBuf1DataLen++;}
 		//LL_USART_TransmitData8(USART1,ch);
 	}
 	if (LL_USART_IsActiveFlag_ORE(USART1))

--
Gitblit v1.9.1