summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodvideo.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-05-15 21:21:52 +0000
committerNils Wallménius <nils@rockbox.org>2007-05-15 21:21:52 +0000
commit7906ed34272e1781f94e3b863be71a6d7d5811cc (patch)
treeacdcb84c8d4d63cf9195e5719594d6847d32a145 /firmware/export/config-ipodvideo.h
parent95b52a0d002884a6aa8ed3b6eb2f733cb6db6d41 (diff)
downloadrockbox-7906ed34272e1781f94e3b863be71a6d7d5811cc.tar.gz
rockbox-7906ed34272e1781f94e3b863be71a6d7d5811cc.zip
Make it possible to select the correct battery capacity on ipod video, default is the 30GB models 400mAh, discharge curve and runtime estimation is still no calibrated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13395 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodvideo.h')
-rw-r--r--firmware/export/config-ipodvideo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h
index e10a7f9e55..b5318d755c 100644
--- a/firmware/export/config-ipodvideo.h
+++ b/firmware/export/config-ipodvideo.h
@@ -66,7 +66,7 @@
66/* We can fade the backlight by using PWM */ 66/* We can fade the backlight by using PWM */
67#define HAVE_BACKLIGHT_PWM_FADING 67#define HAVE_BACKLIGHT_PWM_FADING
68 68
69#define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */ 69#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity for the 30GB model */
70 70
71#ifndef SIMULATOR 71#ifndef SIMULATOR
72 72
@@ -80,8 +80,8 @@
80 80
81/* Type of mobile power */ 81/* Type of mobile power */
82#define CONFIG_BATTERY BATT_LIPOL1300 82#define CONFIG_BATTERY BATT_LIPOL1300
83#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */ 83#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
84#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ 84#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
85#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 85#define BATTERY_CAPACITY_INC 50 /* capacity increment */
86#define BATTERY_TYPES_COUNT 1 /* only one type */ 86#define BATTERY_TYPES_COUNT 1 /* only one type */
87#define BATTERY_SCALE_FACTOR 5865 87#define BATTERY_SCALE_FACTOR 5865