Rev 1731 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1731 | Rev 1910 | ||
|---|---|---|---|
| Line 231... | Line 231... | ||
| 231 | txMsg.Header.ModuleType = CAN_MODULE_TYPE_ACT_MULTISWITCH; |
231 | txMsg.Header.ModuleType = CAN_MODULE_TYPE_ACT_MULTISWITCH; |
| 232 | txMsg.Header.ModuleId = act_multiSwitch_ID; |
232 | txMsg.Header.ModuleId = act_multiSwitch_ID; |
| 233 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
233 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
| 234 | txMsg.Length = 6; |
234 | txMsg.Length = 6; |
| 235 | 235 | ||
| - | 236 | uint32_t HwId=BIOS_GetHwId(); |
|
| 236 | txMsg.Data[0] = |
237 | txMsg.Data[0] = HwId&0xff; |
| 237 | txMsg.Data[1] = |
238 | txMsg.Data[1] = (HwId>>8)&0xff; |
| 238 | txMsg.Data[2] = |
239 | txMsg.Data[2] = (HwId>>16)&0xff; |
| 239 | txMsg.Data[3] = |
240 | txMsg.Data[3] = (HwId>>24)&0xff; |
| 240 | 241 | ||
| 241 | txMsg.Data[4] = NUMBER_OF_MODULES; |
242 | txMsg.Data[4] = NUMBER_OF_MODULES; |
| 242 | txMsg.Data[5] = ModuleSequenceNumber; |
243 | txMsg.Data[5] = ModuleSequenceNumber; |
| 243 | 244 | ||
| 244 | while (StdCan_Put(&txMsg) != StdCan_Ret_OK); |
245 | while (StdCan_Put(&txMsg) != StdCan_Ret_OK); |