diff options
author | Zakk Roberts <midk@rockbox.org> | 2006-04-15 12:31:33 +0000 |
---|---|---|
committer | Zakk Roberts <midk@rockbox.org> | 2006-04-15 12:31:33 +0000 |
commit | b61e2632194956912437905c1fa03315ca7ef520 (patch) | |
tree | aa15e2de0db82cfe51cabe61485e82b4dbfa2376 /firmware/export/config-gminisp.h | |
parent | 13ade06d4a2d3ae39198c569b319bcdd155fae57 (diff) | |
download | rockbox-b61e2632194956912437905c1fa03315ca7ef520.tar.gz rockbox-b61e2632194956912437905c1fa03315ca7ef520.zip |
Move the battery min/max capacity to player config files and add an increment setting (amount of mAh to increase/decrease by in the settings menu) for more precise battery value tweaking/limiting per-model. This allows the proper range for iAudio X5 - 950mAh, or 2250mAh for the X5L.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9678 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-gminisp.h')
-rw-r--r-- | firmware/export/config-gminisp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config-gminisp.h b/firmware/export/config-gminisp.h index 4aa4723ca0..aa0bf09bb4 100644 --- a/firmware/export/config-gminisp.h +++ b/firmware/export/config-gminisp.h | |||
@@ -36,6 +36,10 @@ | |||
36 | 36 | ||
37 | /* Type of mobile power, FIXME: probably different, make new type */ | 37 | /* Type of mobile power, FIXME: probably different, make new type */ |
38 | #define CONFIG_BATTERY BATT_LIION2200 | 38 | #define CONFIG_BATTERY BATT_LIION2200 |
39 | #define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */ | ||
40 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | ||
41 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
42 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
39 | #define BATTERY_SCALE_FACTOR 6465 | 43 | #define BATTERY_SCALE_FACTOR 6465 |
40 | /* chosen values at random -- jyp */ | 44 | /* chosen values at random -- jyp */ |
41 | 45 | ||