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/Inc/functions.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CCT6_TestApp1/Inc/functions.h b/CCT6_TestApp1/Inc/functions.h index f699289..0ca4578 100644 --- a/CCT6_TestApp1/Inc/functions.h +++ b/CCT6_TestApp1/Inc/functions.h @@ -45,6 +45,9 @@ }; }shortbits; +#define RX1BUFSIZE 160 +#define TX1BUFSIZE 260 + #define UART3RXBUFSIZE 256 #define UART3TXBUFSIZE 64 @@ -117,9 +120,9 @@ void Uart6SendDone(void); void Uart6RecvDone(void); -void Uart6SendPacket(char * str, int len); +void Uart6SendPacket(void * str, int len); -void SLPSendPacket(char * str, uchar len); +void SLPSendPacket(void * str, uchar len); int PutStr(char * str1, int len1); int SendPacket(int nChn, void * pBuf,int len1); -- Gitblit v1.9.1