summaryrefslogtreecommitdiff
path: root/firmware/export/config-fmrecorder.h
diff options
context:
space:
mode:
authorZakk Roberts <midk@rockbox.org>2006-04-15 12:31:33 +0000
committerZakk Roberts <midk@rockbox.org>2006-04-15 12:31:33 +0000
commitb61e2632194956912437905c1fa03315ca7ef520 (patch)
treeaa15e2de0db82cfe51cabe61485e82b4dbfa2376 /firmware/export/config-fmrecorder.h
parent13ade06d4a2d3ae39198c569b319bcdd155fae57 (diff)
downloadrockbox-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-fmrecorder.h')
-rw-r--r--firmware/export/config-fmrecorder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index 27e2f10f88..125956691b 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -63,7 +63,10 @@
63 63
64/* Type of mobile power */ 64/* Type of mobile power */
65#define CONFIG_BATTERY BATT_LIION2200 65#define CONFIG_BATTERY BATT_LIION2200
66 66#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
67#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
68#define BATTERY_CAPACITY_INC 50 /* capacity increment */
69#define BATTERY_TYPES_COUNT 1 /* only one type */
67/* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */ 70/* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */
68#define BATTERY_SCALE_FACTOR 8081 71#define BATTERY_SCALE_FACTOR 8081
69 72