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:
parent
c5667f9664
commit
1cd60895d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user