diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2005-06-29 17:24:32 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2005-06-29 17:24:32 +0000 |
| commit | f0622c930a9ff3e733b9621ae0c90c819550bf7e (patch) | |
| tree | dc86f9c2e2c5cec54aa74ec66125011535fbdc87 /apps | |
| parent | db7209616bdd0acc7cdf46a3aa9165d8268a0fbc (diff) | |
| download | rockbox-f0622c930a9ff3e733b9621ae0c90c819550bf7e.zip rockbox-f0622c930a9ff3e733b9621ae0c90c819550bf7e.tar.gz rockbox-f0622c930a9ff3e733b9621ae0c90c819550bf7e.tar.bz2 rockbox-f0622c930a9ff3e733b9621ae0c90c819550bf7e.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/wps.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |