forked from len0rd/rockbox
Simplify powermgmt thread loops so it calls functions turn (no more power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0f9729739f
commit
3157e13956
34 changed files with 1337 additions and 1124 deletions
|
|
@ -129,6 +129,11 @@
|
|||
/* define this if the unit can be powered or charged via USB */
|
||||
#define HAVE_USB_POWER
|
||||
|
||||
/* define current usage levels */
|
||||
#define CURRENT_NORMAL 45 /* Should be nearly identical to E200 */
|
||||
#define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */
|
||||
#define CURRENT_RECORD 40 /* flash player, so this is just unboosted current*/
|
||||
|
||||
/** Non-simulator section **/
|
||||
#ifndef SIMULATOR
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue