1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-26 19:50:35 +02:00

use the contrast for brightness in nanonote

This commit is contained in:
Xiangfu Liu 2011-11-10 14:59:45 +08:00
parent c5667f9664
commit 1cd60895d5

View File

@ -272,7 +272,7 @@ void GMenu2X::init() {
acHandle = fopen("/sys/class/power_supply/ac/online", "r");
backlightHandle = fopen(
#ifdef PLATFORM_NANONOTE
"/sys/class/backlight/gpm940b0-bl/brightness",
"/sys/class/lcd/ili8960-lcd/contrast",
#else
"/sys/class/backlight/pwm-backlight/brightness",
#endif