forked from len0rd/rockbox
Don't spinup the disk on pause if at least one method ensures the resume position to be saved, RTC or software poweroff.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6924 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
db7209616b
commit
f0622c930a
1 changed files with 2 additions and 2 deletions
|
|
@ -544,8 +544,8 @@ long wps_show(void)
|
||||||
else
|
else
|
||||||
audio_pause();
|
audio_pause();
|
||||||
settings_save();
|
settings_save();
|
||||||
#ifndef HAVE_RTC
|
#if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF)
|
||||||
ata_flush();
|
ata_flush(); /* make sure resume info is saved */
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue