summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-08 14:50:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-08 19:36:23 +0000
commita2fbccf19423be4e33faac106c365168af4861a2 (patch)
tree9b1bc0d5656aea5d34fef6905772823b1537dbdf
parentc79f658125a7b53251820d866d8b6dfc004c4bff (diff)
downloadrockbox-a2fbccf.tar.gz
rockbox-a2fbccf.zip
playback: Nothing should call ata_spinup_time() directly
Change-Id: I9d20b8bfd0f1e47f33ca402f80a9e08bd00fbcd8
-rw-r--r--apps/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 7bb78c98a7..b93ead0b68 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1006,7 +1006,7 @@ static void audio_update_filebuf_watermark(int seconds)
size_t bytes = 0;
#ifdef HAVE_DISK_STORAGE
- int spinup = ata_spinup_time();
+ int spinup = storage_spinup_time();
if (seconds == 0)
{