summaryrefslogtreecommitdiffstats
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-03-01 21:06:46 +0000
committerThomas Jarosch <tomj@simonv.com>2011-03-01 21:06:46 +0000
commitef99e33bc57d9f0d70507eb3e1b491cd0597320d (patch)
tree132d3a11311613aa42b76fe8f6e5f5f4a6dc8b32 /firmware/powermgmt.c
parentacd8bffb9576432cb52c6c325da74192a30bae67 (diff)
downloadrockbox-ef99e33bc57d9f0d70507eb3e1b491cd0597320d.tar.gz
rockbox-ef99e33bc57d9f0d70507eb3e1b491cd0597320d.tar.bz2
rockbox-ef99e33bc57d9f0d70507eb3e1b491cd0597320d.zip
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29486 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index c856e1be70..db37a5df0b 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -788,11 +788,13 @@ void cancel_shutdown(void)
{
logf("cancel_shutdown()");
+#ifndef BOOTLOADER
#if defined(IAUDIO_X5) || defined(IAUDIO_M5) || defined(COWON_D2)
/* TODO: Move some things to target/ tree */
if (shutdown_timeout)
pcf50606_reset_timeout();
#endif
+#endif /* BOOTLOADER */
shutdown_timeout = 0;
}