diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-20 23:16:04 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-20 23:16:04 +0000 |
commit | 7f24c3095d7f8f77b9737f391d61a2b37e30a4b0 (patch) | |
tree | 2318c8f9a552615b5c88f6c37bf4e3175dc5d7c0 /firmware/target/arm/as3525/sansa-clip | |
parent | 26c8eebe4ff447349b4980683739c632c84e2f05 (diff) | |
download | rockbox-7f24c3095d7f8f77b9737f391d61a2b37e30a4b0.tar.gz rockbox-7f24c3095d7f8f77b9737f391d61a2b37e30a4b0.zip |
Clipv1: charging curve
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26220 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clip')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clip/powermgmt-clip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/powermgmt-clip.c b/firmware/target/arm/as3525/sansa-clip/powermgmt-clip.c index d908981523..5006c58347 100644 --- a/firmware/target/arm/as3525/sansa-clip/powermgmt-clip.c +++ b/firmware/target/arm/as3525/sansa-clip/powermgmt-clip.c | |||
@@ -44,8 +44,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = | |||
44 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ | 44 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ |
45 | const unsigned short percent_to_volt_charge[11] = | 45 | const unsigned short percent_to_volt_charge[11] = |
46 | { | 46 | { |
47 | /* TODO: simple linear uncalibrated curve */ | 47 | 3427, 3786, 3842, 3877, 3896, 3924, 3971, 4028, 4084, 4161, 4190 |
48 | 3300, 3390, 3480, 3570, 3660, 3750, 3840, 3930, 4020, 4110, 4200 | ||
49 | }; | 48 | }; |
50 | #endif /* CONFIG_CHARGING */ | 49 | #endif /* CONFIG_CHARGING */ |
51 | 50 | ||