diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-20 17:03:24 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-20 17:03:24 +0000 |
commit | 0a21ffabbe63f8dd5c893266bdd39bebc2231adc (patch) | |
tree | 17a13e534e0546aa09cf6807efcc16fd6db7c6bd /firmware/target/arm/as3525/sansa-clipv2 | |
parent | 5a379bce60b22f0a5d469ec5b4d03e7089f49316 (diff) | |
download | rockbox-0a21ffabbe63f8dd5c893266bdd39bebc2231adc.tar.gz rockbox-0a21ffabbe63f8dd5c893266bdd39bebc2231adc.zip |
Clipv2: charging curve + voltage limits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26200 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipv2')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clipv2/powermgmt-clipv2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipv2/powermgmt-clipv2.c b/firmware/target/arm/as3525/sansa-clipv2/powermgmt-clipv2.c index 7e4cc78995..3e8aaacad8 100644 --- a/firmware/target/arm/as3525/sansa-clipv2/powermgmt-clipv2.c +++ b/firmware/target/arm/as3525/sansa-clipv2/powermgmt-clipv2.c | |||
@@ -44,8 +44,8 @@ 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 | 3379, 3766, 3828, 3855, 3875, 3911, 3975, 4035, 4117, 4217, 4219 |
48 | 3300, 3390, 3480, 3570, 3660, 3750, 3840, 3930, 4020, 4110, 4200 | 48 | |
49 | }; | 49 | }; |
50 | #endif /* CONFIG_CHARGING */ | 50 | #endif /* CONFIG_CHARGING */ |
51 | 51 | ||