Subversion Repositories HomeAutomation

Rev

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

Rev 1827 Rev 1828
Line 593... Line 593...
593
            break;
593
            break;
594
 
594
 
595
        case sns_irTransceive_STATE_START_TRANSMIT:
595
        case sns_irTransceive_STATE_START_TRANSMIT:
596
            if (expandProtocol(irTxChannel[channel].txbuf, &irTxChannel[channel].txlen, &irTxChannel[channel].proto) == IR_OK)
596
            if (expandProtocol(irTxChannel[channel].txbuf, &irTxChannel[channel].txlen, &irTxChannel[channel].proto) == IR_OK)
597
            {
597
            {
598
                IrTransceiver_Transmit(channel, irTxChannel[channel].txbuf, irTxChannel[channel].txlen);
598
                IrTransceiver_Transmit(channel, irTxChannel[channel].txbuf, 0, irTxChannel[channel].txlen);
599
                irTxChannel[channel].state = sns_irTransceive_STATE_TRANSMITTING;
599
                irTxChannel[channel].state = sns_irTransceive_STATE_TRANSMITTING;
600
            }
600
            }
601
            else
601
            else
602
            {
602
            {
603
                irTxChannel[channel].state = sns_irTransceive_STATE_IDLE;
603
                irTxChannel[channel].state = sns_irTransceive_STATE_IDLE;