summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-09-12 14:37:22 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-09-12 14:37:22 +0000
commit678d662f74676c3d6b28bef7f0717fc356672d52 (patch)
tree9dab75e97ae884bbd78ffd1eb20183da9ce498b9
parent3bee89ed44680c0abeffe4f1c6e69f9928b00e89 (diff)
downloadrockbox-678d662f74676c3d6b28bef7f0717fc356672d52.zip
rockbox-678d662f74676c3d6b28bef7f0717fc356672d52.tar.gz
rockbox-678d662f74676c3d6b28bef7f0717fc356672d52.tar.bz2
rockbox-678d662f74676c3d6b28bef7f0717fc356672d52.tar.xz
Fixed the x5 sim build error I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10933 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/powermgmt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 6a52beb..8f83296 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -60,8 +60,10 @@
#endif
#ifdef IAUDIO_X5
+#ifndef SIMULATOR
extern void pcf50606_reset_timeout(void);
#endif
+#endif
/*
* Define DEBUG_FILE to create a csv (spreadsheet) with battery information
@@ -1016,10 +1018,12 @@ void cancel_shutdown(void)
logf("sys_cancel_shutdown()");
#ifdef IAUDIO_X5
+#ifndef SIMULATOR
/* TODO: Move some things to target/ tree */
if (shutdown_timeout)
pcf50606_reset_timeout();
#endif
+#endif
shutdown_timeout = 0;
}