summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-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);
87#define BATT_AVE_SAMPLES 32 87#define BATT_AVE_SAMPLES 32
88 88
89/* No init to do */ 89/* No init to do */
90#if !(CONFIG_PLATFORM & PLATFORM_HOSTED)
91static inline void powermgmt_init_target(void) {}
92#endif
90void powermgmt_init_target(void); 93void powermgmt_init_target(void);
91void charging_algorithm_step(void); 94void charging_algorithm_step(void);
92 95