Changeset 39704 for titan/titan
- Timestamp:
- 01/08/17 19:34:00 (7 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/cec.h
r39281 r39704 2 2 #define CEC_H 3 3 4 int cecon = 0; 4 5 5 6 void hdmiEvent() … … 370 371 ioctl(status.hdmiFd, 0); /* flush old messages */ 371 372 #endif 372 373 373 374 setFixedPhysicalAddress(getconfigint("cec_fixedAddress", NULL)); 375 if(checkbox("DM900") == 1 && getwaswakuptimer() != 1) 376 { 377 sleep(2); 378 cecwakeup(); 379 } 374 380 375 381 return; … … 415 421 data[0] = '\0'; 416 422 417 if(getconfigint("cec_on", NULL) == 1 )423 if(getconfigint("cec_on", NULL) == 1 && cecon == 0) 418 424 { 419 425 if(getconfigint("cec_all_on", NULL) == 1) … … 445 451 sleep(1); 446 452 } 453 cecon = 1; 447 454 } 448 455 } -
titan/titan/titan.c
r39481 r39704 612 612 613 613 #ifdef MIPSEL 614 cecinit(); 614 addtimer(&cecinit, START, 10000, 1, NULL, NULL, NULL); 615 //cecinit(); 615 616 #endif 616 617 system(getconfig("skriptbeforetv", NULL));
Note: See TracChangeset
for help on using the changeset viewer.