diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-12-24 16:58:41 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-12-24 16:58:41 +0000 |
commit | 3157e1395674a930c74e2ef4cc4ce78dffea8569 (patch) | |
tree | 5b2a9befc3b051caf0806995ebd32a5ab3bcf5ff /firmware/export/config-e200.h | |
parent | 0f9729739f2fd90759c1caeca86e487c36f98834 (diff) | |
download | rockbox-3157e1395674a930c74e2ef4cc4ce78dffea8569.tar.gz rockbox-3157e1395674a930c74e2ef4cc4ce78dffea8569.zip |
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
Diffstat (limited to 'firmware/export/config-e200.h')
-rw-r--r-- | firmware/export/config-e200.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index 3cae14cc87..b290a24952 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h | |||
@@ -123,6 +123,11 @@ | |||
123 | /* Hardware controlled charging? FIXME */ | 123 | /* Hardware controlled charging? FIXME */ |
124 | #define CONFIG_CHARGING CHARGING_SIMPLE | 124 | #define CONFIG_CHARGING CHARGING_SIMPLE |
125 | 125 | ||
126 | /* define current usage levels */ | ||
127 | #define CURRENT_NORMAL 45 /* Mike's measurements in Jan 2008 */ | ||
128 | #define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */ | ||
129 | #define CURRENT_RECORD 40 /* flash player, so this is just unboosted current*/ | ||
130 | |||
126 | /* define this if the unit can be powered or charged via USB */ | 131 | /* define this if the unit can be powered or charged via USB */ |
127 | #define HAVE_USB_POWER | 132 | #define HAVE_USB_POWER |
128 | 133 | ||