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
This commit is contained in:
Jens Arnold 2008-10-12 12:28:41 +00:00
parent 71c1e2a838
commit 0f933f6210

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