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
241241    }*/
242242#else
243243    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");
245245    acHandle = fopen("/sys/class/power_supply/ac/online", "r");
246246    backlightHandle = fopen(
247247#ifdef PLATFORM_NANONOTE

Archive Download the corresponding diff file



interactive