Changeset 40484 for titan/titan/cec.h
- Timestamp:
- 05/22/17 19:34:54 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/cec.h
r40434 r40484 3 3 4 4 int cecon = 0; 5 5 6 struct stimerthread* hdmiEventthread = NULL; 6 7 … … 242 243 data[0] = '\0'; 243 244 sendMessage(address, cmd, data, strlen(data)); 244 245 245 } 246 246 } … … 331 331 if(rxmessage.data[3]== cec_physicalAddress[0] && rxmessage.data[4]== cec_physicalAddress[1]) 332 332 { 333 //sendswitch(); 334 //setFixedPhysicalAddress(getconfigint("cec_fixedAddress", NULL)); 335 //reportPhysicalAddress(0); 336 //sendMenuInfo(0x00); 337 //setVolumeForward(); 338 } 339 break; 340 } 341 case 0x82: 342 { 343 //cecon = 0; 344 //sendTVon(); 345 if(rxmessage.data[1]== cec_physicalAddress[0] && rxmessage.data[2]== cec_physicalAddress[1]) 346 { 333 347 sendswitch(); 334 348 setFixedPhysicalAddress(getconfigint("cec_fixedAddress", NULL)); … … 337 351 setVolumeForward(); 338 352 } 339 break; 340 } 341 case 0x82: 342 { 343 //cecon = 0; 344 //sendTVon(); 345 if(rxmessage.data[1]== cec_physicalAddress[0] && rxmessage.data[2]== cec_physicalAddress[1]) 353 else if(rxmessage.data[1]== 0x00 && rxmessage.data[2]== 0x00) 346 354 { 347 355 sendswitch();
Note: See TracChangeset
for help on using the changeset viewer.