Subversion Repositories HomeAutomation

Rev

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

Rev 1828 Rev 1841
Line 390... Line 390...
390
void IrTransceiver_Transmit(uint8_t channel, uint16_t *buffer, uint8_t start, uint8_t length)
390
void IrTransceiver_Transmit(uint8_t channel, uint16_t *buffer, uint8_t start, uint8_t length)
391
{
391
{
392
    uint16_t diff;
392
    uint16_t diff;
393
    uint8_t findchannel;
393
    uint8_t findchannel;
394
 
394
 
395
    if (length > start)
395
    if (length > 0)
396
    {
396
    {
397
        if (drvIrTxChannel[channel].timeoutEnable == FALSE)
397
        if (drvIrTxChannel[channel].timeoutEnable == FALSE)
398
        {
398
        {
399
            drvIrTxChannel[channel].timeoutEnable = TRUE;
399
            drvIrTxChannel[channel].timeoutEnable = TRUE;
400
            drvIrTxChannel[channel].txbuf = buffer;
400
            drvIrTxChannel[channel].txbuf = buffer;