diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-03-13 16:11:30 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-03-13 16:11:30 +0000 |
commit | 451ee0b11c4eb1e60370c5fef94bc85945d8e092 (patch) | |
tree | f8473fddb4e3e6153eda8909353c859276ed56e3 /firmware/export | |
parent | b4171645a53841b829bea6cd53f62ea0c3d520ff (diff) | |
download | rockbox-451ee0b11c4eb1e60370c5fef94bc85945d8e092.tar.gz rockbox-451ee0b11c4eb1e60370c5fef94bc85945d8e092.zip |
Charging state reporting for iriver players. Values calibrated with
1900 mAh Ionity battery; might need recalibration with the stock
battery.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9030 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-h100.h | 3 | ||||
-rw-r--r-- | firmware/export/config-h120.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index 87598c208e..d35a35bb60 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h | |||
@@ -78,6 +78,9 @@ | |||
78 | /* Define this if the platform can charge batteries */ | 78 | /* Define this if the platform can charge batteries */ |
79 | #define HAVE_CHARGING 1 | 79 | #define HAVE_CHARGING 1 |
80 | 80 | ||
81 | /* For units with a hardware charger that reports charge state */ | ||
82 | #define HAVE_CHARGE_STATE 1 | ||
83 | |||
81 | /* define this if the hardware can be powered off while charging */ | 84 | /* define this if the hardware can be powered off while charging */ |
82 | #define HAVE_POWEROFF_WHILE_CHARGING | 85 | #define HAVE_POWEROFF_WHILE_CHARGING |
83 | 86 | ||
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index fd62243d8a..8426940da8 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h | |||
@@ -73,6 +73,9 @@ | |||
73 | /* Define this if the platform can charge batteries */ | 73 | /* Define this if the platform can charge batteries */ |
74 | #define HAVE_CHARGING 1 | 74 | #define HAVE_CHARGING 1 |
75 | 75 | ||
76 | /* For units with a hardware charger that reports charge state */ | ||
77 | #define HAVE_CHARGE_STATE 1 | ||
78 | |||
76 | /* define this if the hardware can be powered off while charging */ | 79 | /* define this if the hardware can be powered off while charging */ |
77 | #define HAVE_POWEROFF_WHILE_CHARGING | 80 | #define HAVE_POWEROFF_WHILE_CHARGING |
78 | 81 | ||