summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-10-12 12:28:41 +0000
committerJens Arnold <amiconn@rockbox.org>2008-10-12 12:28:41 +0000
commit0f933f62101a8fe8bb841617217f7e866324820d (patch)
tree08df08260321dd96f8a53a60dd6ab6c36f564c48 /firmware/powermgmt.c
parent71c1e2a83865d01e53cdcf73c53020a3df8662b2 (diff)
Bootloaders don't need special handling in sys_poweroff() for recording targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18780 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 6366ea9bd0..f0fbd7df92 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -1122,7 +1122,7 @@ void sys_poweroff(void)
#if (defined(IAUDIO_X5) || defined(IAUDIO_M5)) && !defined (SIMULATOR)
pcf50606_reset_timeout(); /* Reset timer on first attempt only */
#endif
-#ifdef HAVE_RECORDING
+#if defined(HAVE_RECORDING) && !defined(BOOTLOADER)
if (audio_status() & AUDIO_STATUS_RECORD)
shutdown_timeout += HZ*8;
#endif