summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodnano.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-ipodnano.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-ipodnano.h')
-rw-r--r--firmware/export/config-ipodnano.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h
index 7d6515fc0f..6017d0a2e8 100644
--- a/firmware/export/config-ipodnano.h
+++ b/firmware/export/config-ipodnano.h
@@ -115,6 +115,12 @@
115/* define this if the unit can be powered or charged via USB */ 115/* define this if the unit can be powered or charged via USB */
116#define HAVE_USB_POWER 116#define HAVE_USB_POWER
117 117
118#define CURRENT_NORMAL 32 /* MP3: ~9h playback out of 300mAh battery */
119#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */
120#if defined(HAVE_RECORDING)
121#define CURRENT_RECORD 35 /* FIXME: this needs adjusting */
122#endif
123
118#ifndef SIMULATOR 124#ifndef SIMULATOR
119 125
120/* Define this if you have a PortalPlayer PP5022 */ 126/* Define this if you have a PortalPlayer PP5022 */