diff options
Diffstat (limited to 'firmware/export/config-ipodvideo.h')
-rw-r--r-- | firmware/export/config-ipodvideo.h | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index 0f2da5360a..b792f6f5dc 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h | |||
@@ -8,9 +8,6 @@ | |||
8 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
9 | #define MODEL_NUMBER 5 | 9 | #define MODEL_NUMBER 5 |
10 | 10 | ||
11 | /* For battery type (30GB by default, undefine here to use 60/80GB model) */ | ||
12 | #define CONFIG_BATTERY_IPOD_VIDEO_30GB | ||
13 | |||
14 | /* define this if you have recording possibility */ | 11 | /* define this if you have recording possibility */ |
15 | #define HAVE_RECORDING | 12 | #define HAVE_RECORDING |
16 | 13 | ||
@@ -81,22 +78,16 @@ | |||
81 | 78 | ||
82 | /* Type of mobile power */ | 79 | /* Type of mobile power */ |
83 | #if (MEM==32) /* this is the 30GB-model */ | 80 | #if (MEM==32) /* this is the 30GB-model */ |
84 | # define CONFIG_BATTERY BATT_LIION400 | 81 | # define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity for the 30GB model */ |
85 | # define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity for the 30GB model */ | 82 | # define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */ |
86 | # define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */ | 83 | # define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ |
87 | # define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ | ||
88 | # define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
89 | # define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
90 | # define BATTERY_SCALE_FACTOR 5865 | ||
91 | #else /* these are the 60/80GB-models */ | 84 | #else /* these are the 60/80GB-models */ |
92 | # define CONFIG_BATTERY BATT_LIION400 /* FIXME: we assume to have same discharge behaviour as 30GB iPOD */ | 85 | # define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity for the 60/80GB model */ |
93 | # define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity for the 60/80GB model */ | 86 | # define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ |
94 | # define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ | 87 | # define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ |
95 | # define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ | ||
96 | # define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
97 | # define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
98 | # define BATTERY_SCALE_FACTOR 5865 | ||
99 | #endif | 88 | #endif |
89 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | ||
90 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | ||
100 | 91 | ||
101 | /* Hardware controlled charging with monitoring */ | 92 | /* Hardware controlled charging with monitoring */ |
102 | #define CONFIG_CHARGING CHARGING_MONITOR | 93 | #define CONFIG_CHARGING CHARGING_MONITOR |