Bootloaders don't need special handling in sys_poweroff() for recording targets.

git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_0@18781 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-10-12 12:29:09 +00:00
parent aaeb289a10
commit 3d948cb27d

View file

@ -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