fix TW_BRIGHTNESS_PATH for our device
authormicky387 <mickaelsaibi@free.fr>
Wed, 28 Nov 2018 19:00:28 +0000 (20:00 +0100)
committermauronofrio <poronofrio@gmail.com>
Thu, 29 Nov 2018 21:13:39 +0000 (22:13 +0100)
BoardConfig.mk

index 595794b2f9981b6103286ea52884a13b4fd24fa9..fc4396bb9d523f6bbd27e400e34d6aafd1908e7d 100644 (file)
@@ -79,7 +79,7 @@ BOARD_HAS_NO_SELECT_BUTTON := true
 BOARD_HAS_NO_REAL_SDCARD := true
 RECOVERY_SDCARD_ON_DATA := true
 TARGET_RECOVERY_QCOM_RTC_FIX := true
-TW_BRIGHTNESS_PATH := "/sys/class/leds/lcd-backlight/brightness"
+TW_BRIGHTNESS_PATH := "/sys/class/backlight/panel0-backlight/brightness"
 TW_EXCLUDE_DEFAULT_USB_INIT := true
 TW_EXCLUDE_SUPERSU := true
 TW_EXTRA_LANGUAGES := true