diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-h100.h | 3 | ||||
-rw-r--r-- | firmware/export/config-h120.h | 2 | ||||
-rw-r--r-- | firmware/export/config.h | 14 |
3 files changed, 12 insertions, 7 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index 7f91e35fbf..be718259f8 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h | |||
@@ -110,8 +110,7 @@ | |||
110 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 110 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
111 | 111 | ||
112 | /* Hardware controlled charging */ | 112 | /* Hardware controlled charging */ |
113 | 113 | #define CONFIG_CHARGING CHARGING_SIMPLE | |
114 | #define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */ | ||
115 | 114 | ||
116 | /* define current usage levels */ | 115 | /* define current usage levels */ |
117 | #define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */ | 116 | #define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */ |
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index b4a687b6d7..4757d7708c 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h | |||
@@ -110,7 +110,7 @@ | |||
110 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 110 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
111 | 111 | ||
112 | /* Hardware controlled charging */ | 112 | /* Hardware controlled charging */ |
113 | #define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */ | 113 | #define CONFIG_CHARGING CHARGING_SIMPLE |
114 | 114 | ||
115 | /* define current usage levels */ | 115 | /* define current usage levels */ |
116 | #define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */ | 116 | #define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */ |
diff --git a/firmware/export/config.h b/firmware/export/config.h index 1854f59d13..9bc6c7c775 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -116,12 +116,18 @@ | |||
116 | /* CONFIG_CHARGING */ | 116 | /* CONFIG_CHARGING */ |
117 | 117 | ||
118 | /* Generic types */ | 118 | /* Generic types */ |
119 | #define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */ | 119 | #define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging |
120 | #define CHARGING_MONITOR 2 /* Hardware controlled charging with monitoring */ | 120 | * (CPU cannot read charger state but may read |
121 | * when power is plugged-in). */ | ||
122 | #define CHARGING_MONITOR 2 /* Hardware controlled charging with monitoring | ||
123 | * (CPU is able to read HW charging state and | ||
124 | * when power is plugged-in). */ | ||
121 | 125 | ||
122 | /* Mostly target-specific code in the /target tree */ | 126 | /* Mostly target-specific code in the /target tree */ |
123 | #define CHARGING_TARGET 3 | 127 | #define CHARGING_TARGET 3 /* Any algorithm - usually software controlled |
124 | 128 | * charging or specific programming is required to | |
129 | * use the charging hardware. */ | ||
130 | |||
125 | /* CONFIG_LCD */ | 131 | /* CONFIG_LCD */ |
126 | #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ | 132 | #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ |
127 | #define LCD_SSD1801 2 /* as used by Archos Player/Studio */ | 133 | #define LCD_SSD1801 2 /* as used by Archos Player/Studio */ |