增加轮速输出
This commit is contained in:
@@ -185,6 +185,20 @@ void CAN2_RX1_IRQHandler(void)
|
||||
|
||||
if(CanRxStructure.DLC > 0)//<2F><><EFBFBD>ȴ<EFBFBD><C8B4><EFBFBD>0
|
||||
{
|
||||
|
||||
// if (CanRxStructure.ExtId == DF_CanIDbattery)
|
||||
// {
|
||||
// memcpy((uint8_t *)&un_wheel_speed_input.,(uint8_t *)&(CanRxStructure.Data[0]),8);//<2F><><EFBFBD>ܵ<EFBFBD><DCB5><EFBFBD>
|
||||
// RgCanToBatteryCnt ++;
|
||||
// }
|
||||
// else if (CanRxStructure.ExtId == DF_CanIDRCH_3)
|
||||
// {
|
||||
// memcpy((uint8_t *)&UnRCH_3Signal_1.ArrData.ArrRx[0][0],(uint8_t *)&(CanRxStructure.Data[0]),8);//<2F><><EFBFBD><EFBFBD>ң<EFBFBD><D2A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
// RgCanRC6GSCnt ++;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
CAN_Send_Msg(CAN2, 0x7F2, CAN_Id_Standard, CAN_RTR_Data, &CanRxStructure.Data[0], 8);//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user