summaryrefslogtreecommitdiffstats
path: root/firmware/export/power.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-08-12 19:49:03 +0000
committerNils Wallménius <nils@rockbox.org>2007-08-12 19:49:03 +0000
commitf28da1a35a6403b153f93f66e3d96e485f89c363 (patch)
tree760d0c286a65042e18e2165ff555be0d40e80558 /firmware/export/power.h
parent90c40b7fea0275e212addf3ae6ac6979f5b4585b (diff)
downloadrockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.gz
rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.bz2
rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.zip
Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/power.h')
-rw-r--r--firmware/export/power.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/power.h b/firmware/export/power.h
index fbc3ded3c1..b97410fd54 100644
--- a/firmware/export/power.h
+++ b/firmware/export/power.h
@@ -31,14 +31,14 @@ bool charger_inserted(void);
void power_off(void);
void ide_power_enable(bool on);
-#ifndef SIMULATOR
-
-void power_init(void);
-
# if CONFIG_CHARGING == CHARGING_MONITOR
bool charging_state(void);
# endif
+#ifndef SIMULATOR
+
+void power_init(void);
+
bool ide_powered(void);
#endif