diff options
author | Thomas Jarosch <tomj@simonv.com> | 2011-03-02 20:15:51 +0000 |
---|---|---|
committer | Thomas Jarosch <tomj@simonv.com> | 2011-03-02 20:15:51 +0000 |
commit | b00c8caf2a5cc9ce4d5b4637147a1a58facb57d0 (patch) | |
tree | 4171da040ce2b140a223f00883b4fdc58edf3fcf | |
parent | 281efd71806acacce8ddd5ad23659621d485136f (diff) |
Fix red on Archos Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29504 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/sh/archos/recorder/powermgmt-target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/sh/archos/recorder/powermgmt-target.h b/firmware/target/sh/archos/recorder/powermgmt-target.h index cffa3aa192..80a530cdf8 100644 --- a/firmware/target/sh/archos/recorder/powermgmt-target.h +++ b/firmware/target/sh/archos/recorder/powermgmt-target.h @@ -87,6 +87,9 @@ bool charger_enabled(void); #define BATT_AVE_SAMPLES 32 /* No init to do */ +#if !(CONFIG_PLATFORM & PLATFORM_HOSTED) +static inline void powermgmt_init_target(void) {} +#endif void powermgmt_init_target(void); void charging_algorithm_step(void); |