Changeset 30755


Ignore:
Timestamp:
10/30/14 18:36:55 (9 years ago)
Author:
gost
Message:

[titan] mipsel.. add simple cec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r30752 r30755  
    238238        if(getconfigint("usecec", NULL) == 1)
    239239        {
     240#ifndef MIPSEL         
    240241                if(flag == 0)
    241242                        writesys("/proc/stb/cec/onetouchplay", "0", 1);
     
    251252                        free(tmpstr1); tmpstr1 = NULL;
    252253                }
    253         }
     254#else
     255                if(flag == 0)
     256                        system("echo -e -n \"\\x0f\\x01\\x04\" > /dev/hdmi_cec");
     257                else
     258                        system("echo -e -n \"\\x0f\\x01\\x36\" > /dev/hdmi_cec");
     259#endif
     260        }
     261       
     262       
     263       
     264        echo -e -n "\x0f\x01\x04" > /dev/hdmi_cec
    254265
    255266        return 0;
Note: See TracChangeset for help on using the changeset viewer.