Rev 1735 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1735 | Rev 1910 | ||
|---|---|---|---|
| Line 215... | Line 215... | ||
| 215 | txMsg.Header.ModuleType = CAN_MODULE_TYPE_ACT_LINEARACT; |
215 | txMsg.Header.ModuleType = CAN_MODULE_TYPE_ACT_LINEARACT; |
| 216 | txMsg.Header.ModuleId = act_linearAct_ID; |
216 | txMsg.Header.ModuleId = act_linearAct_ID; |
| 217 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
217 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
| 218 | txMsg.Length = 6; |
218 | txMsg.Length = 6; |
| 219 | 219 | ||
| - | 220 | uint32_t HwId=BIOS_GetHwId(); |
|
| 220 | txMsg.Data[0] = |
221 | txMsg.Data[0] = HwId&0xff; |
| 221 | txMsg.Data[1] = |
222 | txMsg.Data[1] = (HwId>>8)&0xff; |
| 222 | txMsg.Data[2] = |
223 | txMsg.Data[2] = (HwId>>16)&0xff; |
| 223 | txMsg.Data[3] = |
224 | txMsg.Data[3] = (HwId>>24)&0xff; |
| 224 | 225 | ||
| 225 | txMsg.Data[4] = NUMBER_OF_MODULES; |
226 | txMsg.Data[4] = NUMBER_OF_MODULES; |
| 226 | txMsg.Data[5] = ModuleSequenceNumber; |
227 | txMsg.Data[5] = ModuleSequenceNumber; |
| 227 | 228 | ||
| 228 | while (StdCan_Put(&txMsg) != StdCan_Ret_OK); |
229 | while (StdCan_Put(&txMsg) != StdCan_Ret_OK); |