summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-03-02 20:15:51 +0000
committerThomas Jarosch <tomj@simonv.com>2011-03-02 20:15:51 +0000
commitb00c8caf2a5cc9ce4d5b4637147a1a58facb57d0 (patch)
tree4171da040ce2b140a223f00883b4fdc58edf3fcf /firmware/target/sh
parent281efd71806acacce8ddd5ad23659621d485136f (diff)
downloadrockbox-b00c8caf2a5cc9ce4d5b4637147a1a58facb57d0.tar.gz
rockbox-b00c8caf2a5cc9ce4d5b4637147a1a58facb57d0.tar.bz2
rockbox-b00c8caf2a5cc9ce4d5b4637147a1a58facb57d0.zip
Fix red on Archos Recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29504 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh')
-rw-r--r--firmware/target/sh/archos/recorder/powermgmt-target.h3
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);