Rev 1797 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1797 | Rev 1910 | ||
|---|---|---|---|
| Line 479... | Line 479... | ||
| 479 | txMsg.Header.ModuleType = CAN_MODULE_TYPE_ACT_OUTPUT; |
479 | txMsg.Header.ModuleType = CAN_MODULE_TYPE_ACT_OUTPUT; |
| 480 | txMsg.Header.ModuleId = act_output_ID; |
480 | txMsg.Header.ModuleId = act_output_ID; |
| 481 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
481 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
| 482 | txMsg.Length = 6; |
482 | txMsg.Length = 6; |
| 483 | 483 | ||
| - | 484 | uint32_t HwId=BIOS_GetHwId(); |
|
| 484 | txMsg.Data[0] = |
485 | txMsg.Data[0] = HwId&0xff; |
| 485 | txMsg.Data[1] = |
486 | txMsg.Data[1] = (HwId>>8)&0xff; |
| 486 | txMsg.Data[2] = |
487 | txMsg.Data[2] = (HwId>>16)&0xff; |
| 487 | txMsg.Data[3] = |
488 | txMsg.Data[3] = (HwId>>24)&0xff; |
| 488 | 489 | ||
| 489 | txMsg.Data[4] = NUMBER_OF_MODULES; |
490 | txMsg.Data[4] = NUMBER_OF_MODULES; |
| 490 | txMsg.Data[5] = ModuleSequenceNumber; |
491 | txMsg.Data[5] = ModuleSequenceNumber; |
| 491 | 492 | ||
| 492 | while (StdCan_Put(&txMsg) != StdCan_Ret_OK); |
493 | while (StdCan_Put(&txMsg) != StdCan_Ret_OK); |