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.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.h')
-rw-r--r-- | firmware/export/config.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index d8c14ddcef..1854f59d13 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -114,11 +114,13 @@ | |||
114 | #define X5_REMOTE 3 | 114 | #define X5_REMOTE 3 |
115 | 115 | ||
116 | /* CONFIG_CHARGING */ | 116 | /* CONFIG_CHARGING */ |
117 | |||
118 | /* Generic types */ | ||
117 | #define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */ | 119 | #define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */ |
118 | #define CHARGING_MONITOR 2 /* Hardware controlled charging with monitoring */ | 120 | #define CHARGING_MONITOR 2 /* Hardware controlled charging with monitoring */ |
119 | #define CHARGING_CONTROL 3 /* Software controlled charging */ | 121 | |
120 | #define CHARGING_TARGET 4 /* Anything the target implements that is not | 122 | /* Mostly target-specific code in the /target tree */ |
121 | a generic implementation */ | 123 | #define CHARGING_TARGET 3 |
122 | 124 | ||
123 | /* CONFIG_LCD */ | 125 | /* CONFIG_LCD */ |
124 | #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ | 126 | #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ |