Rev 1320 | Rev 2040 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1320 | Rev 1910 | ||
|---|---|---|---|
| Line 163... | Line 163... | ||
| 163 | 163 | ||
| 164 | txMsg.Header.ModuleId = sns_irReceive_ID; |
164 | txMsg.Header.ModuleId = sns_irReceive_ID; |
| 165 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
165 | txMsg.Header.Command = CAN_MODULE_CMD_GLOBAL_LIST; |
| 166 | txMsg.Length = 6; |
166 | txMsg.Length = 6; |
| 167 | 167 | ||
| - | 168 | uint32_t HwId=BIOS_GetHwId(); |
|
| 168 | txMsg.Data[0] = |
169 | txMsg.Data[0] = HwId&0xff; |
| 169 | txMsg.Data[1] = |
170 | txMsg.Data[1] = (HwId>>8)&0xff; |
| 170 | txMsg.Data[2] = |
171 | txMsg.Data[2] = (HwId>>16)&0xff; |
| 171 | txMsg.Data[3] = |
172 | txMsg.Data[3] = (HwId>>24)&0xff; |
| 172 | 173 | ||
| 173 | txMsg.Data[4] = NUMBER_OF_MODULES; |
174 | txMsg.Data[4] = NUMBER_OF_MODULES; |
| 174 | txMsg.Data[5] = ModuleSequenceNumber; |
175 | txMsg.Data[5] = ModuleSequenceNumber; |
| 175 | 176 | ||
| 176 | while (StdCan_Put(&txMsg) != StdCan_Ret_OK); |
177 | while (StdCan_Put(&txMsg) != StdCan_Ret_OK); |