diff options
Diffstat (limited to 'firmware/target/sh/archos/recorder/powermgmt-target.h')
-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); | |||
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) | ||
91 | static inline void powermgmt_init_target(void) {} | ||
92 | #endif | ||
90 | void powermgmt_init_target(void); | 93 | void powermgmt_init_target(void); |
91 | void charging_algorithm_step(void); | 94 | void charging_algorithm_step(void); |
92 | 95 | ||