diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2012-01-07 22:32:52 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2012-01-07 22:32:52 +0000 |
commit | 19fba5fb30efaed540478457fb52c0200a748e59 (patch) | |
tree | a303f65341b3f0dd16f4f716d8875861e4666f83 /firmware/target/sh/archos/recorder/powermgmt-target.h | |
parent | 66149b454bfcff32ea6bb564b8d49fabc5f020d7 (diff) | |
download | rockbox-19fba5fb30efaed540478457fb52c0200a748e59.tar.gz rockbox-19fba5fb30efaed540478457fb52c0200a748e59.zip |
powermgmt-target.h: move prototypes to powermgmt.h
Implement empty stubs if needed instead of empty static inline
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31617 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh/archos/recorder/powermgmt-target.h')
-rw-r--r-- | firmware/target/sh/archos/recorder/powermgmt-target.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/firmware/target/sh/archos/recorder/powermgmt-target.h b/firmware/target/sh/archos/recorder/powermgmt-target.h index 7792c05185..6b68d05bd4 100644 --- a/firmware/target/sh/archos/recorder/powermgmt-target.h +++ b/firmware/target/sh/archos/recorder/powermgmt-target.h | |||
@@ -86,18 +86,4 @@ bool charger_enabled(void); | |||
86 | /* Battery filter lengths in samples */ | 86 | /* Battery filter lengths in samples */ |
87 | #define BATT_AVE_SAMPLES 32 | 87 | #define BATT_AVE_SAMPLES 32 |
88 | 88 | ||
89 | /* No init to do */ | ||
90 | #if !(CONFIG_PLATFORM & PLATFORM_HOSTED) | ||
91 | static inline void powermgmt_init_target(void) {} | ||
92 | #endif | ||
93 | void charging_algorithm_step(void); | ||
94 | |||
95 | #ifdef CHARGING_DEBUG_FILE | ||
96 | /* Need to flush and close debug file */ | ||
97 | void charging_algorithm_close(void); | ||
98 | #else | ||
99 | /* No poweroff operation to do */ | ||
100 | static inline void charging_algorithm_close(void) {} | ||
101 | #endif | ||
102 | |||
103 | #endif /* POWERMGMT_TARGET_H */ | 89 | #endif /* POWERMGMT_TARGET_H */ |