s3ve3g-common: use correct paths for power_ext

This commit is contained in:
PythonLimited 2019-09-07 20:55:24 +02:00 committed by Francescodario Cuzzocrea
parent 3e9160e4e1
commit 339ab61225
1 changed files with 2 additions and 5 deletions

View File

@ -21,11 +21,8 @@
#define LOG_TAG "PowerHAL_K_Ext"
#include <utils/Log.h>
/* touchkeys */
#define TK_POWER "/sys/class/input/input1/enabled"
/* touchscreen */
#define TS_POWER "/sys/class/input/input2/enabled"
#define TK_POWER "/sys/class/input/input2/enabled"
#define TS_POWER "/sys/class/input/input3/enabled"
static void sysfs_write(char *path, char *s) {
char buf[80];