diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2007-03-26 16:55:17 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2007-03-26 16:55:17 +0000 |
commit | 66258a30a407e7ea4600fc2242438ecbd084d5ea (patch) | |
tree | b5fc767011c814a0fde9811731096f11b9f8c9b9 /firmware/usb.c | |
parent | 6c487eb5d115e77ae31b22f24b692bb2df3b90b6 (diff) |
Make scheduler functions thread safe core wise. A big step towards playback running on COP (not yet possible because more protection on file system level is necessary).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usb.c')
-rw-r--r-- | firmware/usb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index 264c53284d..f5deed4da6 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -427,6 +427,8 @@ void usb_init(void) #ifndef BOOTLOADER queue_init(&usb_queue, true); + queue_set_irq_safe(&usb_queue, true); + create_thread(usb_thread, usb_stack, sizeof(usb_stack), usb_thread_name IF_PRIO(, PRIORITY_SYSTEM) IF_COP(, CPU, false)); |