summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-cowond2.h
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-04-12 18:17:15 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-04-12 18:17:15 +0000
commitb14c2de523e7ff03dac4cfc351df529114768a97 (patch)
tree5462b01a2893d1b98c11610a7e135abd1ed147a2 /firmware/export/config-cowond2.h
parent660dbac5c92df2ee12ef20d8aba3686b037fbfb3 (diff)
downloadrockbox-b14c2de523e7ff03dac4cfc351df529114768a97.tar.gz
rockbox-b14c2de523e7ff03dac4cfc351df529114768a97.zip
D2: Charging detection, plus basic PCF50606 interrupt handler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17088 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-cowond2.h')
-rw-r--r--firmware/export/config-cowond2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h
index 3938bd0739..9380de57ef 100644
--- a/firmware/export/config-cowond2.h
+++ b/firmware/export/config-cowond2.h
@@ -99,12 +99,15 @@
#define CONFIG_I2C I2C_TCC780X
-#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
+#define BATTERY_CAPACITY_DEFAULT 1600 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
#define BATTERY_TYPES_COUNT 1 /* only one type */
+/* Hardware controlled charging */
+#define CONFIG_CHARGING CHARGING_SIMPLE
+
#ifndef SIMULATOR
/* Define this if you have a TCC7801 */