Date: | 2011-09-23 00:57:27 (12 years 6 months ago) |
---|---|
Author: | Maarten ter Huurne |
Commit: | 0acbd35fb4c503961c92054331f60782d114792a |
Message: | 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. |
Files: |
src/gmenu2x.cpp (1 diff) |
Change Details
src/gmenu2x.cpp | ||
---|---|---|
241 | 241 | }*/ |
242 | 242 | #else |
243 | 243 | batteryHandle = fopen("/sys/class/power_supply/battery/capacity", "r"); |
244 | usbHandle = fopen("/sys/class/power_supply/USB/online", "r"); | |
244 | usbHandle = fopen("/sys/class/power_supply/usb/online", "r"); | |
245 | 245 | acHandle = fopen("/sys/class/power_supply/ac/online", "r"); |
246 | 246 | backlightHandle = fopen( |
247 | 247 | #ifdef PLATFORM_NANONOTE |
Branches:
install_locations
master
opkrun
packages