summaryrefslogtreecommitdiff
path: root/firmware/export/config-h100.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-24 16:58:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-24 16:58:41 +0000
commit3157e1395674a930c74e2ef4cc4ce78dffea8569 (patch)
tree5b2a9befc3b051caf0806995ebd32a5ab3bcf5ff /firmware/export/config-h100.h
parent0f9729739f2fd90759c1caeca86e487c36f98834 (diff)
downloadrockbox-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-h100.h')
-rw-r--r--firmware/export/config-h100.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 9c327f11fd..7f91e35fbf 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -110,9 +110,16 @@
110#define BATTERY_TYPES_COUNT 1 /* only one type */ 110#define BATTERY_TYPES_COUNT 1 /* only one type */
111 111
112/* Hardware controlled charging */ 112/* Hardware controlled charging */
113//#define CONFIG_CHARGING CHARGING_SIMPLE 113
114#define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */ 114#define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */
115 115
116/* define current usage levels */
117#define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */
118#define CURRENT_BACKLIGHT 23 /* from IriverBattery twiki page */
119#define CURRENT_SPDIF_OUT 10 /* optical SPDIF output on */
120#define CURRENT_RECORD 105 /* additional current while recording */
121#define CURRENT_REMOTE 8 /* additional current when remote connected */
122
116#ifndef SIMULATOR 123#ifndef SIMULATOR
117 124
118/* Define this if you have a Motorola SCF5249 */ 125/* Define this if you have a Motorola SCF5249 */