Rev 2045 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2045 | Rev 2198 | ||
|---|---|---|---|
| Line 364... | Line 364... | ||
| 364 | 364 | ||
| 365 | #endif |
365 | #endif |
| 366 | 366 | ||
| 367 | 367 | ||
| 368 | #if IR_RX_ENABLE==1 |
368 | #if IR_RX_ENABLE==1 |
| 369 | void sns_irTransceive_RX_done_callback(uint8_t channel, uint16_t *buffer, uint8_t len) |
369 | void sns_irTransceive_RX_done_callback(uint8_t channel, uint16_t *buffer, uint8_t len, uint8_t index) |
| 370 | { |
370 | { |
| 371 | if (channel < IR_SUPPORTED_NUM_CHANNELS) |
371 | if (channel < IR_SUPPORTED_NUM_CHANNELS) |
| 372 | { |
372 | { |
| 373 | irRxChannel[channel].newData = TRUE; |
373 | irRxChannel[channel].newData = TRUE; |
| 374 | irRxChannel[channel].rxlen = len; |
374 | irRxChannel[channel].rxlen = len; |