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