Commit 2b137f38 authored by hu's avatar hu

调整参数

parent f2e55a04
......@@ -85,10 +85,9 @@ uint8_t Can_Write(_CAN_Msg *Msg)
CANFrame.unCANData.u8CANData[7] = Msg->Msg[7];
CANFrame.u32CANID = Msg->MsgID;
CANFrame.u8CANLEN = 8;
CANFrame.u8CANLEN = Msg->MsgDLC;
CANFrame.u8CANFrameIDE = 1u;
switch (Msg->MsgPro)
{
case 0x00u : RSCAN0_CH0_Set_TXBUF_Data(RSCAN_CHANNEL_BUF_0, &CANFrame); break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment