Replace _rtw_memcpy with memcpy

This commit is contained in:
Carlos Garces
2021-10-12 16:53:20 +02:00
parent cd6cb41e0f
commit 71d5c54af2
58 changed files with 1564 additions and 1583 deletions

View File

@@ -215,8 +215,8 @@ mptbt_BtFwOpCodeProcess(
pH2c->opCodeVer = opCodeVer;
pH2c->reqNum = pMptCtx->h2cReqNum;
/* PlatformMoveMemory(&pH2c->buf[0], pH2cPar, h2cParaLen); */
/* _rtw_memcpy(&pH2c->buf[0], pH2cPar, h2cParaLen); */
_rtw_memcpy(pH2c->buf, pH2cPar, h2cParaLen);
/* memcpy(&pH2c->buf[0], pH2cPar, h2cParaLen); */
memcpy(pH2c->buf, pH2cPar, h2cParaLen);
RTW_INFO("[MPT], pH2c->opCode=%d\n", pH2c->opCode);
RTW_INFO("[MPT], pH2c->opCodeVer=%d\n", pH2c->opCodeVer);
@@ -499,7 +499,7 @@ MPTBT_FwC2hBtMpCtrl(
case EXT_C2H_TRIG_BY_BT_FW:
RTW_INFO("[MPT], EXT_C2H_TRIG_BY_BT_FW\n");
_rtw_memcpy(&pMptCtx->c2hBuf[0], tmpBuf, length);
memcpy(&pMptCtx->c2hBuf[0], tmpBuf, length);
RTW_INFO("[MPT], pExtC2h->statusCode=0x%x\n", pExtC2h->statusCode);
RTW_INFO("[MPT], pExtC2h->retLen=0x%x\n", pExtC2h->retLen);
RTW_INFO("[MPT], pExtC2h->opCodeVer=0x%x\n", pExtC2h->opCodeVer);