summaryrefslogtreecommitdiffstats
path: root/firmware/storage.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-04-03 22:43:36 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-04-03 22:43:36 +0000
commitf8811835e028f1a2b0ecb4b452cc85a8f79521f6 (patch)
treef17728924d19a9e751d1388185e63c1bd222e0f2 /firmware/storage.c
parent6cbbd1a756df6656d9cc498e317fc47fd252d904 (diff)
downloadrockbox-f8811835e028f1a2b0ecb4b452cc85a8f79521f6.tar.gz
rockbox-f8811835e028f1a2b0ecb4b452cc85a8f79521f6.tar.bz2
rockbox-f8811835e028f1a2b0ecb4b452cc85a8f79521f6.zip
use THREAD_ID_CURRENT instead of thread_get_current()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25463 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/storage.c')
-rw-r--r--firmware/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/storage.c b/firmware/storage.c
index ceae98fa40..1dd315948c 100644
--- a/firmware/storage.c
+++ b/firmware/storage.c
@@ -71,7 +71,7 @@ static void storage_wait_turn(IF_MD_NONVOID(int drive))
#ifndef HAVE_MULTIDRIVE
int drive=0;
#endif
- int my_prio = thread_get_io_priority(thread_get_current());
+ int my_prio = thread_get_io_priority(THREAD_ID_CURRENT);
int loops=my_prio;
while(storage_should_wait(drive, my_prio) && (loops--)>=0)
{