1
0
Fork 0
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:
Jens Arnold 2005-06-29 17:24:32 +00:00
parent db7209616b
commit f0622c930a

View file

@ -544,8 +544,8 @@ long wps_show(void)
else
audio_pause();
settings_save();
#ifndef HAVE_RTC
ata_flush();
#if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF)
ata_flush(); /* make sure resume info is saved */
#endif
}
break;