summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-02-11 07:42:11 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-02-11 07:42:11 +0000
commit9811fc9abf6c3b2bb9500a99c14a64ee29641b09 (patch)
treeabb1962b88f85ea13688a3d68169300fba93075a /firmware/target
parent523f88e192e60184a08e7dfa3de8d398a697148d (diff)
Some misc. ATA stuff: Increase threads' priority (important for idle callbacks to get done faster). Use a simpler loop for ata thread. Add a balancing mutex_lock call to ata_init (oops).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16278 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/sandisk/ata-c200_e200.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/sandisk/ata-c200_e200.c b/firmware/target/arm/sandisk/ata-c200_e200.c
index f32c000543..8714b1e055 100644
--- a/firmware/target/arm/sandisk/ata-c200_e200.c
+++ b/firmware/target/arm/sandisk/ata-c200_e200.c
@@ -1190,7 +1190,8 @@ int ata_init(void)
queue_init(&sd_queue, true);
create_thread(sd_thread, sd_stack, sizeof(sd_stack), 0,
- sd_thread_name IF_PRIO(, PRIORITY_SYSTEM) IF_COP(, CPU));
+ sd_thread_name IF_PRIO(, PRIORITY_USER_INTERFACE)
+ IF_COP(, CPU));
/* enable interupt for the mSD card */
sleep(HZ/10);