Rev 1470 | Rev 1474 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1470 | Rev 1472 | ||
|---|---|---|---|
| Line 280... | Line 280... | ||
| 280 | #if IR_RX_ENABLE==1 |
280 | #if IR_RX_ENABLE==1 |
| 281 | void IrTransceiver_Init_TX_Channel(uint8_t channel, uint16_t *buffer, irCallback_t callback, uint8_t pcint_id, volatile uint8_t* port, volatile uint8_t* pin, volatile uint8_t* ddr,uint8_t nr, uint8_t pcint) |
281 | void IrTransceiver_Init_TX_Channel(uint8_t channel, uint16_t *buffer, irCallback_t callback, uint8_t pcint_id, volatile uint8_t* port, volatile uint8_t* pin, volatile uint8_t* ddr,uint8_t nr, uint8_t pcint) |
| 282 | { |
282 | { |
| 283 | if (channel == 0) |
283 | if (channel == 0) |
| 284 | { |
284 | { |
| 285 |
|
285 | // Pcint_SetCallback(pcint_id, pcint, &IrTransceiver_Store_ch0); |
| 286 | } |
286 | } |
| 287 | else if (channel == 1) |
287 | else if (channel == 1) |
| 288 | { |
288 | { |
| 289 |
|
289 | // Pcint_SetCallback(pcint_id, pcint, &IrTransceiver_Store_ch1); |
| 290 | } |
290 | } |
| 291 | else if (channel == 2) |
291 | else if (channel == 2) |
| 292 | { |
292 | { |
| 293 |
|
293 | // Pcint_SetCallback(pcint_id, pcint, &IrTransceiver_Store_ch2); |
| 294 | } |
294 | } |
| 295 | 295 | ||
| 296 | if (channel < 3) |
296 | if (channel < 3) |
| 297 | { |
297 | { |
| 298 | /* Set port direction to input */ |
298 | /* Set port direction to input */ |