summaryrefslogtreecommitdiff
path: root/firmware/export/config-h300.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-h300.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-h300.h')
-rw-r--r--firmware/export/config-h300.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h
index fa0046ac03..05d75fc4f0 100644
--- a/firmware/export/config-h300.h
+++ b/firmware/export/config-h300.h
@@ -112,6 +112,13 @@
112/* define this if the unit can be powered or charged via USB */ 112/* define this if the unit can be powered or charged via USB */
113#define HAVE_USB_POWER 113#define HAVE_USB_POWER
114 114
115/* define current usage levels */
116#define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery from IriverRuntime wiki page */
117#define CURRENT_BACKLIGHT 23 /* FIXME: This needs to be measured, copied from H100 */
118#define CURRENT_RECORD 110 /* additional current while recording */
119#define CURRENT_MAX_CHG 650 /* maximum charging current */
120#define CURRENT_REMOTE 8 /* additional current when remote connected */
121
115/* define this if the unit can have USB charging disabled by user - 122/* define this if the unit can have USB charging disabled by user -
116 * if USB/MAIN power is discernable and hardware doesn't compel charging */ 123 * if USB/MAIN power is discernable and hardware doesn't compel charging */
117#define HAVE_USB_CHARGING_ENABLE 124#define HAVE_USB_CHARGING_ENABLE