Changeset 30730


Ignore:
Timestamp:
10/27/14 12:12:55 (9 years ago)
Author:
gost
Message:

[titan] test cec aktivate when record

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r30725 r30730  
    18201820        struct rectimer* node = rectimer;
    18211821        int timediff = getconfigint("rectimer_timediff", NULL);
     1822        int test = 0;
    18221823       
    18231824        if(node == NULL) return; //no record
     
    18361837                                debug(400, "found rectimer who has start the box");
    18371838                                setwaswakuptimer(1);
    1838                                 //setcecstandby(1);
     1839                                setcecstandby(1);
     1840                                test = 1;
    18391841                        }
    1840                         else
    1841                                 setcecstandby(0);
    18421842                }
    18431843                node = node->next;
    18441844        }
     1845        if(test == 0)
     1846                setcecstandby(0);
    18451847}
    18461848
Note: See TracChangeset for help on using the changeset viewer.