s3ve3g-common: use correct paths for power_ext
This commit is contained in:
parent
3e9160e4e1
commit
339ab61225
1 changed files with 2 additions and 5 deletions
|
@ -21,11 +21,8 @@
|
||||||
#define LOG_TAG "PowerHAL_K_Ext"
|
#define LOG_TAG "PowerHAL_K_Ext"
|
||||||
#include <utils/Log.h>
|
#include <utils/Log.h>
|
||||||
|
|
||||||
/* touchkeys */
|
#define TK_POWER "/sys/class/input/input2/enabled"
|
||||||
#define TK_POWER "/sys/class/input/input1/enabled"
|
#define TS_POWER "/sys/class/input/input3/enabled"
|
||||||
|
|
||||||
/* touchscreen */
|
|
||||||
#define TS_POWER "/sys/class/input/input2/enabled"
|
|
||||||
|
|
||||||
static void sysfs_write(char *path, char *s) {
|
static void sysfs_write(char *path, char *s) {
|
||||||
char buf[80];
|
char buf[80];
|
||||||
|
|
Loading…
Reference in a new issue