Changeset 30756 for titan/titan/global.h
- Timestamp:
- 10/30/14 18:55:52 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/global.h
r30755 r30756 253 253 } 254 254 #else 255 char* cmd = NULL; 256 cmd = ostrcat(cmd, "echo -e -n ", 1, 0); 257 cmd = ostrcat(cmd, "\"\\x0f\\x01", 0, 0); 255 258 if(flag == 0) 256 system("echo -e -n \"\\x0f\\x01\\x04\" > /dev/hdmi_cec");259 cmd = ostrcat(cmd, "\\x04\" > /dev/hdmi_cec", 0, 0); 257 260 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; 259 265 #endif 260 266 }
Note: See TracChangeset
for help on using the changeset viewer.