From 60c60406bde452021ddeb39fd9a803dc214529ce Mon Sep 17 00:00:00 2001 From: gevaerts Date: Sat, 3 Apr 2010 22:43:36 +0000 Subject: [PATCH] use THREAD_ID_CURRENT instead of thread_get_current() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25463 a1c6a512-1295-4272-9138-f99709370657 --- firmware/storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/storage.c b/firmware/storage.c index ceae98fa4..1dd315948 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) { -- 2.11.4.GIT