From 9f0d8a8d4ad40ba42515624dd56e97bc5ad02354 Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Fri, 10 Jul 2026 14:32:00 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=B8=BB=E7=BA=BF=E5=BE=85=E5=90=88?= =?UTF-8?q?=E3=80=91=E8=A7=A3=E5=86=B3=E6=8C=89=E5=AD=97=E8=8A=82=E4=BD=BF?= =?UTF-8?q?=E7=94=A8ringbuffer=E5=8F=91=E9=80=81=E6=97=B6=E4=BC=A0?= =?UTF-8?q?=E5=85=A5=E5=A4=A7=E5=B0=8F=E4=B8=8D=E5=AF=B9=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- peripheral/com.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peripheral/com.c b/peripheral/com.c index 4af530c..911299b 100644 --- a/peripheral/com.c +++ b/peripheral/com.c @@ -433,7 +433,7 @@ int rd_ComIDWrite(TComCtrl *_ptComCtrl, uint32_t _iFrameID, char *_pBuffer, uint RD_MEMCPY(&sendBuf[sizeof(uint32_t)], _pBuffer, _iSize); - return rd_ComWrite(_ptComCtrl, sendBuf, _iSize); + return rd_ComWrite(_ptComCtrl, sendBuf, totalSize); } int rd_ComIDSend(TComCtrl *_ptComCtrl, uint32_t _iFrameID, char *_pBuffer, uint32_t _iSize)