From 9aed5d7e7b3c7bf09da712e9c272ece401a7acc9 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期一, 25 十一月 2024 14:51:23 +0800
Subject: [PATCH] add UltraSonic and MultiWireLess

---
 Ext_FPx/Inc/FPx.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Ext_FPx/Inc/FPx.h b/Ext_FPx/Inc/FPx.h
index 4ab09f9..e3b05ef 100644
--- a/Ext_FPx/Inc/FPx.h
+++ b/Ext_FPx/Inc/FPx.h
@@ -71,7 +71,7 @@
 #define SetFPxDEPin_0() LL_GPIO_ResetOutputPin(FPxDE_PORT,FPxDE_PIN)
 #define SetFPxDEPin_1() LL_GPIO_SetOutputPin(FPxDE_PORT,FPxDE_PIN)
 
-typedef void *(*FPxCBFuncDef) (int nEvent, void * pBuf, int);	//callback func ,prama s is  void *,void *,int; return void *;
+typedef void *(*FPxEvCBFuncDef) (int nEvent, void * pBuf, int);	//callback func ,prama s is  void *,void *,int; return void *;
 
 // extern uint8_t PktBuf1[64];
 
@@ -94,8 +94,8 @@
 	volatile uint8_t oldSYN;
 	int RSTCount0;
 	int bFirstReq;
-	FPxCBFuncDef FPxCBFunc;
-	uint8_t bFPxCallBackFuncSet;
+	FPxEvCBFuncDef FPxEvCBFunc;
+//	uint8_t bFPxCallBackFuncSet;
 	
 
 
@@ -142,13 +142,13 @@
 uint8_t FPx_SetIOCount(int nInputBytes, int nOutputBytes);
 uint8_t FPx_Proc(void);
 
-uint8_t FPxCalBCC(uint8_t* pBuf, uint8_t len1);
+uint8_t FPxBCC(uint8_t* pBuf, uint8_t len1);
 uint8_t FPxCheckPkt(uint8_t * pBuf, uint8_t len1);
 uint8_t FPxParsePkt(uint8_t * pBuf, uint8_t len1);
 uint8_t FPxSendPkt(uint8_t * pBuf, uint8_t len1);
 
 
-int FPxSetCallBackFunc(FPxCBFuncDef Func1);
+int FPxSetCallBackFunc(FPxEvCBFuncDef Func1);
 
 enum enumFPxCallBackEvent
 {

--
Gitblit v1.9.1