summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2003-02-12 22:21:07 +0000
committerUwe Freese <thebreaker@rockbox.org>2003-02-12 22:21:07 +0000
commit5e44a56b65da8fc02174a8397ba395a989dc063e (patch)
tree475651b6d682d3887993a58f6f56e9fd3cce8d7b /firmware
parentfaec49f9a801f4d50fab69826ff81d3eb34404b8 (diff)
downloadrockbox-5e44a56b65da8fc02174a8397ba395a989dc063e.tar.gz
rockbox-5e44a56b65da8fc02174a8397ba395a989dc063e.zip
disable charge control for FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3239 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/powermgmt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 026bfe47c0..ae8b7445a8 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -105,13 +105,9 @@ int charge_state = 0; /* at the beginning, the charger
105 105
106static int percent_to_volt_charge[11] = /* voltages (centivolt) of 0%, 10%, ... 100% when charging enabled */ 106static int percent_to_volt_charge[11] = /* voltages (centivolt) of 0%, 10%, ... 100% when charging enabled */
107{ 107{
108#ifdef HAVE_LIION
109 /* values guessed, see http://www.seattlerobotics.org/encoder/200210/LiIon2.pdf */ 108 /* values guessed, see http://www.seattlerobotics.org/encoder/200210/LiIon2.pdf */
110 /* until someone measures voltages over a charging cycle */ 109 /* until someone measures voltages over a charging cycle */
111 260, 290, 320, 340, 360, 370, 380, 390, 400, 410, 420 110 476, 544, 551, 556, 561, 564, 566, 576, 582, 584, 585 /* NiMH */
112#else /* NiMH */
113 476, 544, 551, 556, 561, 564, 566, 576, 582, 584, 585
114#endif
115}; 111};
116 112
117void enable_trickle_charge(bool on) 113void enable_trickle_charge(bool on)