summaryrefslogtreecommitdiff
path: root/firmware/target/sh/archos/recorder/powermgmt-target.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-07 22:32:52 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-07 22:32:52 +0000
commit19fba5fb30efaed540478457fb52c0200a748e59 (patch)
treea303f65341b3f0dd16f4f716d8875861e4666f83 /firmware/target/sh/archos/recorder/powermgmt-target.h
parent66149b454bfcff32ea6bb564b8d49fabc5f020d7 (diff)
downloadrockbox-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.h14
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)
91static inline void powermgmt_init_target(void) {}
92#endif
93void charging_algorithm_step(void);
94
95#ifdef CHARGING_DEBUG_FILE
96/* Need to flush and close debug file */
97void charging_algorithm_close(void);
98#else
99/* No poweroff operation to do */
100static inline void charging_algorithm_close(void) {}
101#endif
102
103#endif /* POWERMGMT_TARGET_H */ 89#endif /* POWERMGMT_TARGET_H */