Subversion Repositories HomeAutomation

Rev

Rev 1822 | Rev 1827 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1822 Rev 1824
Line 530... Line 530...
530
                    StdCan_Put(&irTxMsg);
530
                    StdCan_Put(&irTxMsg);
531
                }
531
                }
532
                else if (irRxChannel[channel].proto.protocol == IR_PROTO_UNKNOWN)
532
                else if (irRxChannel[channel].proto.protocol == IR_PROTO_UNKNOWN)
533
                {
533
                {
534
#if (sns_irTransceive_SEND_DEBUG==1)
534
#if (sns_irTransceive_SEND_DEBUG==1)
535
#if sns_irTransceive_PRONTO_SUPPORT==0
-
 
536
                    send_debug(irRxChannel[channel].rxbuf, irRxChannel[channel].rxlen);
535
                    send_debug(irRxChannel[channel].rxbuf, irRxChannel[channel].rxlen);
537
                    irRxChannel[channel].proto.timeout=300;
536
                    irRxChannel[channel].proto.timeout=300;
538
#endif
-
 
539
#if sns_irTransceive_PRONTO_SUPPORT==1
537
#elif sns_irTransceive_PRONTO_SUPPORT==1
540
                    send_pronto(irRxChannel[channel].rxbuf, irRxChannel[channel].rxlen, channel, irRxChannel[channel].modfreq);
538
                    send_pronto(irRxChannel[channel].rxbuf, irRxChannel[channel].rxlen, channel, irRxChannel[channel].modfreq);
541
                    irRxChannel[channel].proto.timeout=300;
539
                    irRxChannel[channel].proto.timeout=1;
542
#endif
-
 
543
 
-
 
544
#endif
540
#endif
545
                }
541
                }
546
               
542
 
547
                /* Enable the receiver again */
543
                /* Enable the receiver again */
548
                IrTransceiver_EnableRx(channel);
544
                IrTransceiver_EnableRx(channel);