mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-02-05 12:01:06 +02:00
update the brightness file path to NanoNote
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
6e5fa8cedf
commit
be9c6b9220
@ -145,10 +145,10 @@ void GMenu2X::gp2x_init() {
|
||||
f200 = ts.init();
|
||||
}*/
|
||||
batteryHandle = fopen("/sys/class/power_supply/battery/capacity", "r");
|
||||
usbHandle = fopen("/sys/class/power_supply/usb/online", "r");
|
||||
usbHandle = fopen("/sys/class/power_supply/USB/online", "r");
|
||||
acHandle = fopen("/sys/class/power_supply/ac/online", "r");
|
||||
backlightHandle =
|
||||
fopen("/sys/class/backlight/pwm-backlight/brightness", "w+");
|
||||
fopen("/sys/class/backlight/gpm940b0-bl/brightness", "w+");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user