Rev 1996 | Rev 2198 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1996 | Rev 2040 | ||
|---|---|---|---|
| Line 93... | Line 93... | ||
| 93 | /* If known protocol and timeout is not 0 (0 means burst) */ |
93 | /* If known protocol and timeout is not 0 (0 means burst) */ |
| 94 | if (rfRxChannel_proto.protocol != IR_PROTO_UNKNOWN && rfRxChannel_proto.timeout != 0) { |
94 | if (rfRxChannel_proto.protocol != IR_PROTO_UNKNOWN && rfRxChannel_proto.timeout != 0) { |
| 95 | /* Send button release command on CAN */ |
95 | /* Send button release command on CAN */ |
| 96 | rfTxMsg.Data[0] = CAN_MODULE_ENUM_PHYSICAL_IR_STATUS_RELEASED; |
96 | rfTxMsg.Data[0] = CAN_MODULE_ENUM_PHYSICAL_IR_STATUS_RELEASED; |
| 97 | rfTxMsg.Data[1] = rfRxChannel_proto.protocol; |
97 | rfTxMsg.Data[1] = rfRxChannel_proto.protocol; |
| 98 | rfTxMsg.Data[2] = (rfRxChannel_proto.data>>40)&0xff; |
- | |
| 99 | rfTxMsg.Data[3] = (rfRxChannel_proto.data>>32)&0xff; |
- | |
| 100 | rfTxMsg.Data[4] = (rfRxChannel_proto.data>>24)&0xff; |
- | |
| 101 |
|
98 | /* Data content is kept from last transmit (pressed) */ |
| 102 | rfTxMsg.Data[6] = (rfRxChannel_proto.data>>8)&0xff; |
- | |
| 103 | rfTxMsg.Data[7] = rfRxChannel_proto.data&0xff; |
- | |
| 104 | 99 | ||
| 105 | StdCan_Put(&rfTxMsg); |
100 | StdCan_Put(&rfTxMsg); |
| 106 | } |
101 | } |
| 107 | rfRxChannel_state = sns_rfTransceive_STATE_START_RECEIVE; |
102 | rfRxChannel_state = sns_rfTransceive_STATE_START_RECEIVE; |
| 108 | break; |
103 | break; |