From a5c19ac86f2b15c5c5a73674295472511896cd6e Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期一, 17 十月 2022 23:04:14 +0800
Subject: [PATCH] fix KNet

---
 Src/functions.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Src/functions.c b/Src/functions.c
index cfc6d57..055d62e 100644
--- a/Src/functions.c
+++ b/Src/functions.c
@@ -281,7 +281,7 @@
 #endif		
 	if (Uart2Stat.bPacketRecved)
 	{
-		ParsePacket(2, (pPacket)Uart2RecvBuf1, Uart2RecvBuf1DataLen);		
+		KBusParsePacket(2, (pPacket)Uart2RecvBuf1, Uart2RecvBuf1DataLen);		
 		Uart2RecvBuf1DataLen=0;
 		Uart2Stat.bPacketRecved=0;
 		Uart2RecvDMA(Uart2RecvBuf1,sizeof(Uart2RecvBuf1));		
@@ -615,7 +615,7 @@
 		case 13:
 						return Input165_R(16);
 		case 14:
-					 return 0;	//FP0
+						return 0;	//FP0
 		case 15:
 						return Input165_R(16);
 		default:

--
Gitblit v1.9.1