mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 05:24:03 +02:00
Corrected name of USB power supply device.
As far as I can see in the 3.0 kernel sources, both the Dingoo and the NanoNote use "usb" in lower case.
This commit is contained in:
parent
53a73cabc7
commit
0acbd35fb4
@ -241,7 +241,7 @@ void GMenu2X::init() {
|
|||||||
}*/
|
}*/
|
||||||
#else
|
#else
|
||||||
batteryHandle = fopen("/sys/class/power_supply/battery/capacity", "r");
|
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");
|
acHandle = fopen("/sys/class/power_supply/ac/online", "r");
|
||||||
backlightHandle = fopen(
|
backlightHandle = fopen(
|
||||||
#ifdef PLATFORM_NANONOTE
|
#ifdef PLATFORM_NANONOTE
|
||||||
|
Loading…
Reference in New Issue
Block a user