Обновление

This commit is contained in:
cfif 2025-12-25 16:27:50 +03:00
parent 33a2b32529
commit 097daed772
1 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ void vCanSerialPortFrameDMAInit(
env->tMbCfg.pRxBuf = CAN_GET_BUFFER(CAN_INDEX); env->tMbCfg.pRxBuf = CAN_GET_BUFFER(CAN_INDEX);
// tx config // tx config
env->tMbCfg.u8TxMsgCnt = 3U; // tx occupy 3 mb env->tMbCfg.u8TxMsgCnt = 6U; // tx occupy 3 mb
tRetVal = FLEXCAN_RxFilterConfig(CAN_INDEX, &env->tMbCfg); tRetVal = FLEXCAN_RxFilterConfig(CAN_INDEX, &env->tMbCfg);
@ -253,7 +253,7 @@ void vCanSerialPortFrameDMAInit(
if (!env->reInit) { if (!env->reInit) {
env->reInit = true; env->reInit = true;
vCanSerialPortFrameInitStructure(env, 10, 0); vCanSerialPortFrameInitStructure(env, 40, 0);
CanSerialPortFrameSetType(env, canTypeFrame); CanSerialPortFrameSetType(env, canTypeFrame);
CanSerialPortFrameSetId(env, canId); CanSerialPortFrameSetId(env, canId);