mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
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:
parent
aaeb289a10
commit
3d948cb27d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue