summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-10-21 09:23:08 +0000
committerJens Arnold <amiconn@rockbox.org>2007-10-21 09:23:08 +0000
commitafcfa1f6691b55bf234d5db975b84f69f65ee90c (patch)
tree6d210242faef0da1aa34ec027757539b8d9bc549 /firmware
parentcc92a0db3d037b21d217fada06732624f3ee2355 (diff)
Don't keep interrupts disabled when waking a frozen thread. Fixes frozen UI on H10 while dircache scan is running in the background.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15239 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/thread.c b/firmware/thread.c
index db5d6c3d2c..7b9982be01 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -2387,6 +2387,7 @@ void thread_thaw(struct thread_entry *thread)
}
UNLOCK_THREAD_SET_STATE(thread, STATE_RUNNING);
+ set_irq_level(oldlevel);
return;
}