Changeset 30756


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

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r30755 r30756  
    253253                }
    254254#else
     255                char* cmd = NULL;
     256                cmd = ostrcat(cmd, "echo -e -n ", 1, 0);       
     257                cmd = ostrcat(cmd, "\"\\x0f\\x01", 0, 0);
    255258                if(flag == 0)
    256                         system("echo -e -n \"\\x0f\\x01\\x04\" > /dev/hdmi_cec");
     259                        cmd = ostrcat(cmd, "\\x04\" > /dev/hdmi_cec", 0, 0);
    257260                else
    258                         system("echo -e -n \"\\x0f\\x01\\x36\" > /dev/hdmi_cec");
     261                        cmd = ostrcat(cmd, "\\x36\" > /dev/hdmi_cec", 0, 0);
     262                }
     263                system(cms);
     264                free cmd;
    259265#endif
    260266        }
Note: See TracChangeset for help on using the changeset viewer.