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:
parent
71c1e2a838
commit
0f933f6210
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…
Reference in a new issue