From 3157e1395674a930c74e2ef4cc4ce78dffea8569 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 24 Dec 2008 16:58:41 +0000 Subject: Simplify powermgmt thread loops so it calls functions turn (no more power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index d8c14ddcef..1854f59d13 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -114,11 +114,13 @@ #define X5_REMOTE 3 /* CONFIG_CHARGING */ + +/* Generic types */ #define CHARGING_SIMPLE 1 /* Simple, hardware controlled charging */ #define CHARGING_MONITOR 2 /* Hardware controlled charging with monitoring */ -#define CHARGING_CONTROL 3 /* Software controlled charging */ -#define CHARGING_TARGET 4 /* Anything the target implements that is not - a generic implementation */ + +/* Mostly target-specific code in the /target tree */ +#define CHARGING_TARGET 3 /* CONFIG_LCD */ #define LCD_SSD1815 1 /* as used by Archos Recorders and Ondios */ -- cgit v1.2.3