diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-18 19:44:40 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-18 19:44:40 +0000 |
commit | 4f61e455a23f95e24117dc97ca40f6afa51a1e90 (patch) | |
tree | ba4f21293df7cc508cdd84972bf25ea5dfd99102 /firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c | |
parent | 4d510761cd5defdba4fb99f7d7c35e9d76ac357f (diff) | |
download | rockbox-4f61e455a23f95e24117dc97ca40f6afa51a1e90.tar.gz rockbox-4f61e455a23f95e24117dc97ca40f6afa51a1e90.zip |
Fuzev1: calibrated charging curve
Show all the adc channels in the IO ports debug menu (not for as3525v2
since the channels are different)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26149 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c')
-rw-r--r-- | firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c b/firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c index 23b278e955..545606b97f 100644 --- a/firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c +++ b/firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c | |||
@@ -45,8 +45,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = | |||
45 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ | 45 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ |
46 | const unsigned short percent_to_volt_charge[11] = | 46 | const unsigned short percent_to_volt_charge[11] = |
47 | { | 47 | { |
48 | /* TODO: simple linear uncalibrated curve */ | 48 | 3364, 3816, 3879, 3903, 3934, 3983, 4051, 4119, 4188, 4188, 4188 |
49 | 3300, 3390, 3480, 3570, 3660, 3750, 3840, 3930, 4020, 4110, 4200 | ||
50 | }; | 49 | }; |
51 | #endif /* CONFIG_CHARGING */ | 50 | #endif /* CONFIG_CHARGING */ |
52 | 51 | ||