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