From 5dd1b7fdcc52a43867f924e8d220de8467af372a Mon Sep 17 00:00:00 2001 From: QuakeGod <quakegod@sina.com> Date: 星期五, 12 四月 2024 14:27:26 +0800 Subject: [PATCH] Change KBus to OOP and Packge --- CCT6_TestApp1/Src/SLP.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CCT6_TestApp1/Src/SLP.c b/CCT6_TestApp1/Src/SLP.c index a1a2fb4..c7740ec 100644 --- a/CCT6_TestApp1/Src/SLP.c +++ b/CCT6_TestApp1/Src/SLP.c @@ -1,7 +1,7 @@ #include "SLP.h" -void SLPSendPacket(char * buf, uchar len1); +void SLPSendPacket(void * buf, uchar len1); uchar bSLPMaster; uchar nStation; uchar SLPinputB; @@ -20,7 +20,7 @@ uchar SLPOKSign; uchar SLPErrSign; -uchar SLPBCC(char * pBuf, uchar len1) +uchar SLPBCC(uchar * pBuf, uchar len1) { uchar i; uchar BCC=0; @@ -31,7 +31,7 @@ return BCC; } -void SLPparsePacket(char * pRecvBuf, uchar len1) +void SLPparsePacket(void * pRecvBuf, uchar len1) { stSLPPacket * pPacket = (stSLPPacket *)pRecvBuf; -- Gitblit v1.9.1