Subversion Repositories HomeAutomation

Rev

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

Rev 1861 Rev 1864
Line 741... Line 741...
741
            /* Repeat sequence exists? */
741
            /* Repeat sequence exists? */
742
            if (irTxChannel[channel].repSeqLen != 0) {
742
            if (irTxChannel[channel].repSeqLen != 0) {
743
                /* Use repeat seq */
743
                /* Use repeat seq */
744
                uint16_t offset = ((uint16_t)irTxChannel[channel].onceSeqLen);
744
                uint16_t offset = ((uint16_t)irTxChannel[channel].onceSeqLen);
745
                /* Don't transmit last passive. last passive handled by timer */
745
                /* Don't transmit last passive. last passive handled by timer */
746
                IrTransceiver_Transmit(channel, &irTxChannel[channel].txbuf[offset], 0, ((uint16_t)irTxChannel[channel].repSeqLen) - 1);
746
                IrTransceiver_Transmit(channel, irTxChannel[channel].txbuf, offset, ((uint16_t)irTxChannel[channel].repSeqLen) - 1);
747
            }
747
            }
748
            else {
748
            else {
749
                /* Use once seq */
749
                /* Use once seq */
750
                /* Don't transmit last passive. last passive handled by timer */
750
                /* Don't transmit last passive. last passive handled by timer */
751
                IrTransceiver_Transmit(channel, irTxChannel[channel].txbuf, 0, irTxChannel[channel].txlen - 1);
751
                IrTransceiver_Transmit(channel, irTxChannel[channel].txbuf, 0, irTxChannel[channel].txlen - 1);