summaryrefslogtreecommitdiff
path: root/firmware/export/config-iaudiox5.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-iaudiox5.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-iaudiox5.h')
-rw-r--r--firmware/export/config-iaudiox5.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h
index b33bae913b..2a16bafc07 100644
--- a/firmware/export/config-iaudiox5.h
+++ b/firmware/export/config-iaudiox5.h
@@ -77,12 +77,15 @@
77 77
78/* Type of mobile power */ 78/* Type of mobile power */
79#define CONFIG_BATTERY BATT_LIPOL1300 79#define CONFIG_BATTERY BATT_LIPOL1300
80#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
81#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
82#define BATTERY_CAPACITY_INC 50 /* capacity increment */
83#define BATTERY_TYPES_COUNT 1 /* only one type */
84#define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */
80 85
81/* define this if you have a real-time clock */ 86/* define this if you have a real-time clock */
82#define CONFIG_RTC RTC_PCF50606 87#define CONFIG_RTC RTC_PCF50606
83 88
84#define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */
85
86/* Define this if you have ATA power-off control */ 89/* Define this if you have ATA power-off control */
87#define HAVE_ATA_POWER_OFF 90#define HAVE_ATA_POWER_OFF
88 91