From 451ee0b11c4eb1e60370c5fef94bc85945d8e092 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Mon, 13 Mar 2006 16:11:30 +0000 Subject: 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 --- firmware/export/config-h100.h | 3 +++ firmware/export/config-h120.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'firmware/export') 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 @@ /* Define this if the platform can charge batteries */ #define HAVE_CHARGING 1 +/* For units with a hardware charger that reports charge state */ +#define HAVE_CHARGE_STATE 1 + /* define this if the hardware can be powered off while charging */ #define HAVE_POWEROFF_WHILE_CHARGING 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 @@ /* Define this if the platform can charge batteries */ #define HAVE_CHARGING 1 +/* For units with a hardware charger that reports charge state */ +#define HAVE_CHARGE_STATE 1 + /* define this if the hardware can be powered off while charging */ #define HAVE_POWEROFF_WHILE_CHARGING -- cgit v1.2.3