From 7b8b07ea2942458c4d5f0ebe17e37d078f399775 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期一, 17 十月 2022 23:27:01 +0800 Subject: [PATCH] fix FP0 --- Inc/KBus.h | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Inc/KBus.h b/Inc/KBus.h index 3436a55..57fe899 100644 --- a/Inc/KBus.h +++ b/Inc/KBus.h @@ -207,22 +207,22 @@ } ; -unsigned char BCC(void * pData, int nSize); +unsigned char KBusBCC(void * pData, int nSize); // /* Make a Packet and return Packet Length */ -int MakePacket(pPacket p1,uchar Src, uchar Dst, uchar nType, uchar nSEQ, uchar DataLen, void *pData ); +int KBusMakePacket(pPacket p1,uchar Src, uchar Dst, uchar nType, uchar nSEQ, uchar DataLen, void *pData ); /* */ -int CheckPacket(int nChn, pPacket p1, int len1); +int KBusCheckPacket(int nChn, pPacket p1, int len1); /* */ -int ParsePacket(int nChn, pPacket p1, int Len1); +int KBusParsePacket(int nChn, pPacket p1, int Len1); typedef struct tagMachineConfig { int bKBusMaster; int nAddr; }stMachineConfig; - +/* int InitMachine(stMachineConfig * pConfig); int SetConfig(void ); @@ -238,7 +238,7 @@ int WriteData(void); int GetStat(void); - +*/ int KBusRepeaterFunc(int nChn); int KBusMasterFunc(int nChn); int KBusSlaveFunc(int nChn); -- Gitblit v1.9.1