Changeset 40484 for titan/titan/cec.h


Ignore:
Timestamp:
05/22/17 19:34:54 (6 years ago)
Author:
gost
Message:

[titan] fix arm cec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/cec.h

    r40434 r40484  
    33
    44int cecon = 0;
     5
    56struct stimerthread* hdmiEventthread = NULL;
    67
     
    242243                data[0] = '\0';
    243244                sendMessage(address, cmd, data, strlen(data));
    244 
    245245        }
    246246}
     
    331331                                                        if(rxmessage.data[3]== cec_physicalAddress[0] && rxmessage.data[4]== cec_physicalAddress[1])
    332332                                                        {
     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                                                        {
    333347                                                                sendswitch();
    334348                                                                setFixedPhysicalAddress(getconfigint("cec_fixedAddress", NULL));
     
    337351                                                                setVolumeForward();
    338352                                                        }
    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)
    346354                                                        {
    347355                                                                sendswitch();
Note: See TracChangeset for help on using the changeset viewer.